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

Side by Side Diff: athena/content/render_view_context_menu_impl.h

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ 5 #ifndef ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_
6 #define ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ 6 #define ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_
7 7
8 #include "components/renderer_context_menu/render_view_context_menu_base.h" 8 #include "components/renderer_context_menu/render_view_context_menu_base.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 11 matching lines...) Expand all
22 RenderViewContextMenuImpl(content::RenderFrameHost* render_frame_host, 22 RenderViewContextMenuImpl(content::RenderFrameHost* render_frame_host,
23 const content::ContextMenuParams& params); 23 const content::ContextMenuParams& params);
24 virtual ~RenderViewContextMenuImpl(); 24 virtual ~RenderViewContextMenuImpl();
25 25
26 void RunMenuAt(views::Widget* parent, 26 void RunMenuAt(views::Widget* parent,
27 const gfx::Point& point, 27 const gfx::Point& point,
28 ui::MenuSourceType type); 28 ui::MenuSourceType type);
29 29
30 private: 30 private:
31 // RenderViewContextMenuBase: 31 // RenderViewContextMenuBase:
32 virtual void InitMenu() OVERRIDE; 32 virtual void InitMenu() override;
33 virtual void RecordShownItem(int id) OVERRIDE; 33 virtual void RecordShownItem(int id) override;
34 virtual void RecordUsedItem(int id) OVERRIDE; 34 virtual void RecordUsedItem(int id) override;
35 #if defined(ENABLE_PLUGINS) 35 #if defined(ENABLE_PLUGINS)
36 virtual void HandleAuthorizeAllPlugins() OVERRIDE; 36 virtual void HandleAuthorizeAllPlugins() override;
37 #endif 37 #endif
38 virtual void NotifyMenuShown() OVERRIDE; 38 virtual void NotifyMenuShown() override;
39 virtual void NotifyURLOpened(const GURL& url, 39 virtual void NotifyURLOpened(const GURL& url,
40 content::WebContents* new_contents) OVERRIDE; 40 content::WebContents* new_contents) override;
41 41
42 // ui::SimpleMenuModel: 42 // ui::SimpleMenuModel:
43 virtual bool GetAcceleratorForCommandId( 43 virtual bool GetAcceleratorForCommandId(
44 int command_id, 44 int command_id,
45 ui::Accelerator* accelerator) OVERRIDE; 45 ui::Accelerator* accelerator) override;
46 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 46 virtual bool IsCommandIdChecked(int command_id) const override;
47 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 47 virtual bool IsCommandIdEnabled(int command_id) const override;
48 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 48 virtual void ExecuteCommand(int command_id, int event_flags) override;
49 49
50 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuImpl); 50 DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuImpl);
51 }; 51 };
52 52
53 } // namespace athena 53 } // namespace athena
54 54
55 #endif // ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_ 55 #endif // ATHENA_CONTENT_RENDER_VIEW_CONTEXT_MENU_IMPL_H_
OLDNEW
« no previous file with comments | « athena/content/content_activity_factory.h ('k') | athena/content/shell/scheme_classifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698