summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebViewClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/public/WebViewClient.h')
-rw-r--r--webkit/api/public/WebViewClient.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/api/public/WebViewClient.h b/webkit/api/public/WebViewClient.h
index 7f9eb70..70e1db0 100644
--- a/webkit/api/public/WebViewClient.h
+++ b/webkit/api/public/WebViewClient.h
@@ -49,7 +49,7 @@ namespace WebKit {
class WebString;
class WebWidget;
struct WebConsoleMessage;
- struct WebContextMenuInfo;
+ struct WebContextMenuData;
struct WebPoint;
struct WebPopupMenuInfo;
@@ -189,6 +189,10 @@ namespace WebKit {
virtual bool runModalBeforeUnloadDialog(
WebFrame*, const WebString& message) = 0;
+ // Shows a context menu with commands relevant to a specific element on
+ // the a given frame. Additional context data is supplied.
+ virtual void showContextMenu(WebFrame*, const WebContextMenuData&) = 0;
+
// UI ------------------------------------------------------------------
// Called when script modifies window.status