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

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

Issue 9045007: Allow plugins to participate in Chrome context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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: content/browser/renderer_host/render_view_host.h
===================================================================
--- content/browser/renderer_host/render_view_host.h (revision 117246)
+++ content/browser/renderer_host/render_view_host.h (working copy)
@@ -73,8 +73,9 @@
} // namespace webkit_glue
namespace WebKit {
+struct WebFindOptions;
struct WebMediaPlayerAction;
-struct WebFindOptions;
+struct WebPluginAction;
} // namespace WebKit
// NotificationObserver used to listen for EXECUTE_JAVASCRIPT_RESULT
@@ -466,6 +467,11 @@
void ExecuteMediaPlayerActionAtLocation(
const gfx::Point& location, const WebKit::WebMediaPlayerAction& action);
+ // Tells the renderer to perform the given action on the plugin located at
+ // the given point.
+ void ExecutePluginActionAtLocation(
+ const gfx::Point& location, const WebKit::WebPluginAction& action);
+
// Sent to the renderer when a popup window should no longer count against
// the current popup count (either because it's not a popup or because it was
// a generated by a user action).
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698