Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: chrome/browser/ui/views/toolbar/reload_button.h

Issue 680053003: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/toolbar/home_button.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/reload_button.h
diff --git a/chrome/browser/ui/views/toolbar/reload_button.h b/chrome/browser/ui/views/toolbar/reload_button.h
index fef9d94c36a0ef1cb0efcec7c5a6091d78eaf7dc..7c9fd188407b5fcbfe58dac002ced456578190fe 100644
--- a/chrome/browser/ui/views/toolbar/reload_button.h
+++ b/chrome/browser/ui/views/toolbar/reload_button.h
@@ -35,7 +35,7 @@ class ReloadButton : public ToolbarButton,
static const char kViewClassName[];
explicit ReloadButton(CommandUpdater* command_updater);
- virtual ~ReloadButton();
+ ~ReloadButton() override;
// Ask for a specified button state. If |force| is true this will be applied
// immediately.
@@ -47,26 +47,25 @@ class ReloadButton : public ToolbarButton,
void LoadImages();
// ToolbarButton:
- virtual void OnMouseExited(const ui::MouseEvent& event) override;
- virtual bool GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const override;
- virtual const char* GetClassName() const override;
- virtual void GetAccessibleState(ui::AXViewState* state) override;
- virtual bool ShouldShowMenu() override;
- virtual void ShowDropDownMenu(ui::MenuSourceType source_type) override;
+ void OnMouseExited(const ui::MouseEvent& event) override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
+ const char* GetClassName() const override;
+ void GetAccessibleState(ui::AXViewState* state) override;
+ bool ShouldShowMenu() override;
+ void ShowDropDownMenu(ui::MenuSourceType source_type) override;
// views::ButtonListener:
- virtual void ButtonPressed(views::Button* /* button */,
- const ui::Event& event) override;
+ void ButtonPressed(views::Button* /* button */,
+ const ui::Event& event) override;
// ui::SimpleMenuModel::Delegate:
- virtual bool IsCommandIdChecked(int command_id) const override;
- virtual bool IsCommandIdEnabled(int command_id) const override;
- virtual bool IsCommandIdVisible(int command_id) const override;
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) override;
- virtual void ExecuteCommand(int command_id, int event_flags) override;
+ bool IsCommandIdChecked(int command_id) const override;
+ bool IsCommandIdEnabled(int command_id) const override;
+ bool IsCommandIdVisible(int command_id) const override;
+ bool GetAcceleratorForCommandId(int command_id,
+ ui::Accelerator* accelerator) override;
+ void ExecuteCommand(int command_id, int event_flags) override;
private:
friend class ReloadButtonTest;
« no previous file with comments | « chrome/browser/ui/views/toolbar/home_button.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698