| Index: ui/views/controls/button/checkbox.h
|
| diff --git a/ui/views/controls/button/checkbox.h b/ui/views/controls/button/checkbox.h
|
| index 8f473fa279d5523a258f98c5e456b4bee2cd9eab..ebe73801264809ec539f63984d564420f0bd993e 100644
|
| --- a/ui/views/controls/button/checkbox.h
|
| +++ b/ui/views/controls/button/checkbox.h
|
| @@ -20,7 +20,7 @@ class VIEWS_EXPORT Checkbox : public LabelButton {
|
| static const char kViewClassName[];
|
|
|
| explicit Checkbox(const base::string16& label);
|
| - virtual ~Checkbox();
|
| + ~Checkbox() override;
|
|
|
| // Sets a listener for this checkbox. Checkboxes aren't required to have them
|
| // since their state can be read independently of them being toggled.
|
| @@ -32,12 +32,12 @@ class VIEWS_EXPORT Checkbox : public LabelButton {
|
|
|
| protected:
|
| // Overridden from LabelButton:
|
| - virtual void Layout() override;
|
| - virtual const char* GetClassName() const override;
|
| - virtual void GetAccessibleState(ui::AXViewState* state) override;
|
| - virtual void OnFocus() override;
|
| - virtual void OnBlur() override;
|
| - virtual const gfx::ImageSkia& GetImage(ButtonState for_state) override;
|
| + void Layout() override;
|
| + const char* GetClassName() const override;
|
| + void GetAccessibleState(ui::AXViewState* state) override;
|
| + void OnFocus() override;
|
| + void OnBlur() override;
|
| + const gfx::ImageSkia& GetImage(ButtonState for_state) override;
|
|
|
| // Set the image shown for each button state depending on whether it is
|
| // [checked] or [focused].
|
| @@ -48,11 +48,10 @@ class VIEWS_EXPORT Checkbox : public LabelButton {
|
|
|
| private:
|
| // Overridden from Button:
|
| - virtual void NotifyClick(const ui::Event& event) override;
|
| + void NotifyClick(const ui::Event& event) override;
|
|
|
| - virtual ui::NativeTheme::Part GetThemePart() const override;
|
| - virtual void GetExtraParams(
|
| - ui::NativeTheme::ExtraParams* params) const override;
|
| + ui::NativeTheme::Part GetThemePart() const override;
|
| + void GetExtraParams(ui::NativeTheme::ExtraParams* params) const override;
|
|
|
| // True if the checkbox is checked.
|
| bool checked_;
|
|
|