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

Unified Diff: chrome/browser/download/download_shelf_context_menu.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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/download/download_shelf_context_menu.h
diff --git a/chrome/browser/download/download_shelf_context_menu.h b/chrome/browser/download/download_shelf_context_menu.h
index a5d8a5eb32ac0a8b4879243a57ffe4d4ebcc92e2..f5dbf3b3e7f624542ee2aebea0bb5850251f23a4 100644
--- a/chrome/browser/download/download_shelf_context_menu.h
+++ b/chrome/browser/download/download_shelf_context_menu.h
@@ -50,15 +50,15 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
ui::SimpleMenuModel* GetMenuModel();
// ui::SimpleMenuModel::Delegate:
- virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
- virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
- virtual bool IsCommandIdVisible(int command_id) const OVERRIDE;
- virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
+ virtual bool IsCommandIdEnabled(int command_id) const override;
+ virtual bool IsCommandIdChecked(int command_id) const override;
+ virtual bool IsCommandIdVisible(int command_id) const override;
+ virtual void ExecuteCommand(int command_id, int event_flags) 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;
+ ui::Accelerator* accelerator) override;
+ virtual bool IsItemForCommandIdDynamic(int command_id) const override;
+ virtual base::string16 GetLabelForCommandId(int command_id) const override;
private:
// Detaches self from |download_item_|. Called when the DownloadItem is
@@ -66,7 +66,7 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
void DetachFromDownloadItem();
// content::DownloadItem::Observer
- virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE;
+ virtual void OnDownloadDestroyed(content::DownloadItem* download) override;
ui::SimpleMenuModel* GetInProgressMenuModel();
ui::SimpleMenuModel* GetFinishedMenuModel();
« no previous file with comments | « chrome/browser/download/download_service_factory.h ('k') | chrome/browser/download/download_shelf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698