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

Unified Diff: chrome/browser/ui/views/frame/system_menu_model_delegate.h

Issue 686463004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: chrome/browser/ui/views/frame/system_menu_model_delegate.h
diff --git a/chrome/browser/ui/views/frame/system_menu_model_delegate.h b/chrome/browser/ui/views/frame/system_menu_model_delegate.h
index 513c5fec8c4fbc3e7abc452ec4cf1077bb55c191..750d43d66769ac61c2b463f76315a1c143357ace 100644
--- a/chrome/browser/ui/views/frame/system_menu_model_delegate.h
+++ b/chrome/browser/ui/views/frame/system_menu_model_delegate.h
@@ -15,19 +15,18 @@
class SystemMenuModelDelegate : public ui::SimpleMenuModel::Delegate {
public:
SystemMenuModelDelegate(ui::AcceleratorProvider* provider, Browser* browser);
- virtual ~SystemMenuModelDelegate();
+ ~SystemMenuModelDelegate() override;
Browser* browser() { return browser_; }
// Overridden from ui::SimpleMenuModel::Delegate:
- virtual bool IsCommandIdChecked(int command_id) const override;
- virtual bool IsCommandIdEnabled(int command_id) const override;
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) override;
- virtual bool IsItemForCommandIdDynamic(int command_id) const override;
- virtual base::string16 GetLabelForCommandId(int command_id) const 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 GetAcceleratorForCommandId(int command_id,
+ ui::Accelerator* accelerator) override;
+ bool IsItemForCommandIdDynamic(int command_id) const override;
+ base::string16 GetLabelForCommandId(int command_id) const override;
+ void ExecuteCommand(int command_id, int event_flags) override;
private:
ui::AcceleratorProvider* provider_; // weak

Powered by Google App Engine
This is Rietveld 408576698