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

Unified Diff: chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h

Issue 130773004: Start moving context menu code to RenderFrame. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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/ui/views/tab_contents/render_view_context_menu_views.h
===================================================================
--- chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h (revision 247964)
+++ chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h (working copy)
@@ -26,7 +26,7 @@
// Factory function to create an instance.
static RenderViewContextMenuViews* Create(
- content::WebContents* web_contents,
+ content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params);
void RunMenuAt(views::Widget* parent,
@@ -42,7 +42,7 @@
virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
protected:
- RenderViewContextMenuViews(content::WebContents* web_contents,
+ RenderViewContextMenuViews(content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params);
// RenderViewContextMenu implementation.

Powered by Google App Engine
This is Rietveld 408576698