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

Unified Diff: webkit/glue/plugins/webview_plugin.h

Issue 5639004: Implement a useful context menu for the blocked plug-in frame:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/webview_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/webview_plugin.h
===================================================================
--- webkit/glue/plugins/webview_plugin.h (revision 67601)
+++ webkit/glue/plugins/webview_plugin.h (working copy)
@@ -17,6 +17,9 @@
#include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
#include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h"
+namespace WebKit {
+class WebMouseEvent;
+}
struct WebPreferences;
// This class implements the WebPlugin interface by forwarding drawing and
@@ -39,6 +42,9 @@
// Called before the WebViewPlugin is destroyed. The delegate should delete
// itself here.
virtual void WillDestroyPlugin() = 0;
+
+ // Called upon a context menu event.
+ virtual void ShowContextMenu(const WebKit::WebMouseEvent&) = 0;
};
explicit WebViewPlugin(Delegate* delegate);
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698