Index: chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h |
diff --git a/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h b/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h |
index 5a59fdd5facf2627e0d3af6ce3324e6433ae38c5..0611acc90ae25e75a040d07b8f226051fcf61050 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h |
+++ b/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.h |
@@ -28,22 +28,20 @@ class ChromeWebContentsViewDelegateMac |
public ContextMenuDelegate { |
public: |
explicit ChromeWebContentsViewDelegateMac(content::WebContents* web_contents); |
- virtual ~ChromeWebContentsViewDelegateMac(); |
+ ~ChromeWebContentsViewDelegateMac() override; |
// Overridden from WebContentsViewDelegate: |
- virtual NSObject<RenderWidgetHostViewMacDelegate>* |
- CreateRenderWidgetHostViewDelegate( |
- content::RenderWidgetHost* render_widget_host) override; |
- virtual content::WebDragDestDelegate* GetDragDestDelegate() override; |
- virtual void ShowContextMenu( |
- content::RenderFrameHost* render_frame_host, |
- const content::ContextMenuParams& params) override; |
+ NSObject<RenderWidgetHostViewMacDelegate>* CreateRenderWidgetHostViewDelegate( |
+ content::RenderWidgetHost* render_widget_host) override; |
+ content::WebDragDestDelegate* GetDragDestDelegate() override; |
+ void ShowContextMenu(content::RenderFrameHost* render_frame_host, |
+ const content::ContextMenuParams& params) override; |
// Overridden from ContextMenuDelegate. |
- virtual scoped_ptr<RenderViewContextMenu> BuildMenu( |
+ scoped_ptr<RenderViewContextMenu> BuildMenu( |
content::WebContents* web_contents, |
const content::ContextMenuParams& params) override; |
- virtual void ShowMenu(scoped_ptr<RenderViewContextMenu> menu) override; |
+ void ShowMenu(scoped_ptr<RenderViewContextMenu> menu) override; |
private: |
content::RenderWidgetHostView* GetActiveRenderWidgetHostView(); |