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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 9045007: Allow plugins to participate in Chrome context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 114593)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -36,6 +36,7 @@
namespace WebKit {
struct WebMediaPlayerAction;
+struct WebPluginAction;
}
// An interface that controls a RenderViewContextMenu instance from observers.
@@ -243,6 +244,8 @@
void MediaPlayerActionAt(const gfx::Point& location,
const WebKit::WebMediaPlayerAction& action);
+ void PluginAction(const WebKit::WebPluginAction& action);
+
bool IsDevCommandEnabled(int id) const;
// Returns a list of registered ProtocolHandlers that can handle the clicked

Powered by Google App Engine
This is Rietveld 408576698