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

Unified Diff: athena/content/render_view_context_menu_impl.h

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@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
« no previous file with comments | « athena/content/content_proxy_browsertest.cc ('k') | athena/content/web_activity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/render_view_context_menu_impl.h
diff --git a/athena/content/render_view_context_menu_impl.h b/athena/content/render_view_context_menu_impl.h
index 67585521c129d5d803a06a1644e882f8572fe72a..fa926ae720dca8d0a451c2f9ae31d49e59d9733e 100644
--- a/athena/content/render_view_context_menu_impl.h
+++ b/athena/content/render_view_context_menu_impl.h
@@ -21,7 +21,7 @@ class RenderViewContextMenuImpl : public RenderViewContextMenuBase {
public:
RenderViewContextMenuImpl(content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params);
- virtual ~RenderViewContextMenuImpl();
+ ~RenderViewContextMenuImpl() override;
void RunMenuAt(views::Widget* parent,
const gfx::Point& point,
@@ -29,23 +29,22 @@ class RenderViewContextMenuImpl : public RenderViewContextMenuBase {
private:
// 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;
// ui::SimpleMenuModel:
- virtual bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) override;
- 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 GetAcceleratorForCommandId(int command_id,
+ ui::Accelerator* accelerator) override;
+ bool IsCommandIdChecked(int command_id) const override;
+ bool IsCommandIdEnabled(int command_id) const override;
+ void ExecuteCommand(int command_id, int event_flags) override;
DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuImpl);
};
« no previous file with comments | « athena/content/content_proxy_browsertest.cc ('k') | athena/content/web_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698