// could be implemented by a native control or custom rendered.
class VIEWS_EXPORT Button : public View {
public:
- virtual ~Button();
+ ~Button() override;
// Button states for various button sub-types.
enum ButtonState {
void SetAccessibleName(const base::string16& name);
// Overridden from View:
- virtual bool GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const OVERRIDE;
- virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
+ void GetAccessibleState(ui::AXViewState* state) override;
protected:
// Construct the Button with a Listener. The listener can be NULL. This can be