| Index: public/web/WebFrameClient.h
|
| diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
|
| index 1fd36217f25b4a28f31d6302d5bcda9653dec15a..1683ad65531afd5defd002bbd13ba8b475ce4c9e 100644
|
| --- a/public/web/WebFrameClient.h
|
| +++ b/public/web/WebFrameClient.h
|
| @@ -47,6 +47,9 @@
|
| #include "public/platform/WebURLRequest.h"
|
| #include <v8.h>
|
|
|
| +// FIXME(jam): remove after roll
|
| +#define SHOW_CONTEXT_MENU_ON_WEB_FRAME_CLIENT
|
| +
|
| namespace blink {
|
|
|
| class WebApplicationCacheHost;
|
| @@ -73,6 +76,7 @@ class WebURL;
|
| class WebURLLoader;
|
| class WebURLResponse;
|
| class WebWorkerPermissionClientProxy;
|
| +struct WebContextMenuData;
|
| struct WebPluginParams;
|
| struct WebRect;
|
| struct WebSize;
|
| @@ -221,6 +225,13 @@ public:
|
| virtual void didUpdateCurrentHistoryItem(WebFrame*) { }
|
|
|
|
|
| + // UI ------------------------------------------------------------------
|
| +
|
| + // Shows a context menu with commands relevant to a specific element on
|
| + // the given frame. Additional context data is supplied.
|
| + virtual void showContextMenu(const WebContextMenuData&) { }
|
| +
|
| +
|
| // Low-level resource notifications ------------------------------------
|
|
|
| // An element will request a resource.
|
|
|