#ifndef UI_VIEWS_EXAMPLES_CHECKBOX_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_CHECKBOX_EXAMPLE_H_
#include "base/macros.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/examples/example_base.h"
namespace views {
class Checkbox;
namespace examples {
class VIEWS_EXAMPLES_EXPORT CheckboxExample : public ExampleBase,
public ButtonListener {
public:
CheckboxExample();
virtual ~CheckboxExample();
virtual void CreateExampleView(View* container) OVERRIDE;
private:
virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
Checkbox* button_;
int count_;
DISALLOW_COPY_AND_ASSIGN(CheckboxExample);
};
}
}
#endif