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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/renderer_context_menu/render_view_context_menu_base.h
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h
index 776a81ba67dc0465d6686ef2e839fb328aa25bc5..f3a822afea3cf5fe68f80531e51a6674c09fe86e 100644
--- a/components/renderer_context_menu/render_view_context_menu_base.h
+++ b/components/renderer_context_menu/render_view_context_menu_base.h
@@ -84,27 +84,27 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
bool IsCommandIdKnown(int command_id, bool* enabled) const;
// SimpleMenuModel::Delegate implementation.
- virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
- virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
- virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE;
- virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE;
+ virtual bool IsCommandIdChecked(int command_id) const override;
+ virtual void ExecuteCommand(int command_id, int event_flags) override;
+ virtual void MenuWillShow(ui::SimpleMenuModel* source) override;
+ virtual void MenuClosed(ui::SimpleMenuModel* source) override;
// RenderViewContextMenuProxy implementation.
virtual void AddMenuItem(int command_id,
- const base::string16& title) OVERRIDE;
+ const base::string16& title) override;
virtual void AddCheckItem(int command_id,
- const base::string16& title) OVERRIDE;
- virtual void AddSeparator() OVERRIDE;
+ const base::string16& title) override;
+ virtual void AddSeparator() override;
virtual void AddSubMenu(int command_id,
const base::string16& label,
- ui::MenuModel* model) OVERRIDE;
+ ui::MenuModel* model) override;
virtual void UpdateMenuItem(int command_id,
bool enabled,
bool hidden,
- const base::string16& title) OVERRIDE;
- virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE;
- virtual content::WebContents* GetWebContents() const OVERRIDE;
- virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
+ const base::string16& title) override;
+ virtual content::RenderViewHost* GetRenderViewHost() const override;
+ virtual content::WebContents* GetWebContents() const override;
+ virtual content::BrowserContext* GetBrowserContext() const override;
protected:
friend class RenderViewContextMenuTest;
« no previous file with comments | « components/rappor/log_uploader_unittest.cc ('k') | components/renderer_context_menu/render_view_context_menu_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698