| Index: webkit/glue/webview_delegate.h
|
| ===================================================================
|
| --- webkit/glue/webview_delegate.h (revision 21856)
|
| +++ webkit/glue/webview_delegate.h (working copy)
|
| @@ -626,7 +626,7 @@
|
| // clicked on
|
| // @param page_url The URL of the page the mouse right clicked on
|
| // @param frame_url The URL of the subframe the mouse right clicked on
|
| - // @param media_params Extra attributed needed by the context menu for
|
| + // @param media_params Extra attributed needed by the context menu for
|
| // media elements.
|
| // @param selection_text The raw text of the selection that the mouse right
|
| // clicked on
|
| @@ -652,6 +652,25 @@
|
| const std::string& frame_charset) {
|
| }
|
|
|
| + // Easiest way for now to show support for background images.
|
| + // May want to roll this in some other way.
|
| + virtual void ShowContextMenu(WebView* webview,
|
| + ContextNodeType node_type,
|
| + int x,
|
| + int y,
|
| + const GURL& link_url,
|
| + const GURL& image_url,
|
| + const GURL& page_url,
|
| + const GURL& frame_url,
|
| + const GURL& bkg_url,
|
| + const ContextMenuMediaParams& media_params,
|
| + const std::wstring& selection_text,
|
| + const std::wstring& misspelled_word,
|
| + int edit_flags,
|
| + const std::string& security_info,
|
| + const std::string& frame_charset) {
|
| + }
|
| +
|
| // Starts a drag session with the supplied contextual information.
|
| // webview: The WebView sending the delegate method.
|
| // drop_data: a WebDropData struct which should contain all the necessary
|
|
|