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

Unified Diff: webkit/glue/webview_delegate.h

Issue 164279: View Background Image Feature (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 4 months 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 | « webkit/glue/context_menu_client_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webkit/glue/context_menu_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698