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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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/renderer_context_menu/render_view_context_menu.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.h b/chrome/browser/renderer_context_menu/render_view_context_menu.h
index 107340ec0c758399d9af1280e1d55acd872978fe..ebacb0e801ff0fc85219a4119df6a891e06727e9 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h
@@ -51,12 +51,12 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
RenderViewContextMenu(content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params);
- virtual ~RenderViewContextMenu();
+ ~RenderViewContextMenu() override;
// SimpleMenuModel::Delegate:
- virtual bool IsCommandIdChecked(int command_id) const override;
- virtual bool IsCommandIdEnabled(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;
+ void ExecuteCommand(int command_id, int event_flags) override;
protected:
Profile* GetProfile();
@@ -76,15 +76,15 @@ class RenderViewContextMenu : public RenderViewContextMenuBase {
const extensions::MenuItem* item);
// RenderViewContextMenuBase:
- virtual void InitMenu() override;
- virtual void RecordShownItem(int id) override;
- virtual void RecordUsedItem(int id) override;
+ void InitMenu() override;
+ void RecordShownItem(int id) override;
+ void RecordUsedItem(int id) override;
#if defined(ENABLE_PLUGINS)
- virtual void HandleAuthorizeAllPlugins() override;
+ void HandleAuthorizeAllPlugins() override;
#endif
- virtual void NotifyMenuShown() override;
- virtual void NotifyURLOpened(const GURL& url,
- content::WebContents* new_contents) override;
+ void NotifyMenuShown() override;
+ void NotifyURLOpened(const GURL& url,
+ content::WebContents* new_contents) override;
// Gets the extension (if any) associated with the WebContents that we're in.
const extensions::Extension* GetExtension() const;

Powered by Google App Engine
This is Rietveld 408576698