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

Unified Diff: chrome/browser/ui/app_list/app_context_menu.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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
Index: chrome/browser/ui/app_list/app_context_menu.h
diff --git a/chrome/browser/ui/app_list/app_context_menu.h b/chrome/browser/ui/app_list/app_context_menu.h
index 764dc7cfa92f3a82367c5d4f121f840785ad72a2..b34b37081635f0f79e49b3cc1f35d78aa9d0648c 100644
--- a/chrome/browser/ui/app_list/app_context_menu.h
+++ b/chrome/browser/ui/app_list/app_context_menu.h
@@ -28,7 +28,7 @@ class AppContextMenu : public ui::SimpleMenuModel::Delegate {
Profile* profile,
const std::string& app_id,
AppListControllerDelegate* controller);
- virtual ~AppContextMenu();
+ ~AppContextMenu() override;
// Note this could return NULL if corresponding extension is gone.
ui::MenuModel* GetMenuModel();
@@ -45,14 +45,13 @@ class AppContextMenu : public ui::SimpleMenuModel::Delegate {
private:
// ui::SimpleMenuModel::Delegate overrides:
- virtual bool IsItemForCommandIdDynamic(int command_id) const override;
- virtual base::string16 GetLabelForCommandId(int command_id) const override;
- virtual bool IsCommandIdChecked(int command_id) const override;
- virtual bool IsCommandIdEnabled(int command_id) const override;
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* acclelrator) override;
- virtual void ExecuteCommand(int command_id, int event_flags) override;
+ bool IsItemForCommandIdDynamic(int command_id) const override;
+ base::string16 GetLabelForCommandId(int command_id) const override;
+ bool IsCommandIdChecked(int command_id) const override;
+ bool IsCommandIdEnabled(int command_id) const override;
+ bool GetAcceleratorForCommandId(int command_id,
+ ui::Accelerator* acclelrator) override;
+ void ExecuteCommand(int command_id, int event_flags) override;
AppContextMenuDelegate* delegate_;
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698