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

Unified Diff: chrome/browser/renderer_host/render_view_host.h

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 9 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/renderer_host/render_view_host.h
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index df00cb191f021bbffdd4db115d7f9e557ba5ab7d..9c1b81d3d09e97996f0ec77dd70955d29f47c3ab 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -58,6 +58,7 @@ class Point;
} // namespace gfx
namespace webkit_glue {
+struct CustomContextMenuContext;
struct WebAccessibility;
} // namespace webkit_glue
@@ -318,7 +319,8 @@ class RenderViewHost : public RenderWidgetHost {
const WebKit::WebMediaPlayerAction& action);
// Notifies the renderer that the context menu has closed.
- void ContextMenuClosed();
+ void ContextMenuClosed(
+ const webkit_glue::CustomContextMenuContext& custom_context);
// Prints the node that's under the context menu.
void PrintNodeUnderContextMenu();
@@ -462,7 +464,9 @@ class RenderViewHost : public RenderWidgetHost {
void UpdateBrowserWindowId(int window_id);
// Tells the render view that a custom context action has been selected.
- void PerformCustomContextMenuAction(unsigned action);
+ void PerformCustomContextMenuAction(
+ const webkit_glue::CustomContextMenuContext& custom_context,
+ unsigned action);
// Informs renderer of updated content settings.
void SendContentSettings(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698