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

Unified Diff: webkit/glue/context_menu.h

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make brettw happier Created 9 years, 11 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 | « ppapi/ppapi_cpp.gypi ('k') | webkit/glue/context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/context_menu.h
diff --git a/webkit/glue/context_menu.h b/webkit/glue/context_menu.h
index e1a88cbd5af945670dd9dafb39a7e55b9a8c2b7e..2f3880736c6997c72bd1b5835b383d2d0c12b723 100644
--- a/webkit/glue/context_menu.h
+++ b/webkit/glue/context_menu.h
@@ -14,6 +14,18 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
+namespace webkit_glue {
+
+struct CustomContextMenuContext {
+ bool is_pepper_menu;
+ int request_id;
+
+ CustomContextMenuContext();
+};
+
+} // namespace webkit_glue
+
+// TODO(viettrungluu): Put this in the webkit_glue namespace.
// Parameters structure for ViewHostMsg_ContextMenu.
// FIXME(beng): This would be more useful in the future and more efficient
// if the parameters here weren't so literally mapped to what
@@ -94,6 +106,7 @@ struct ContextMenuParams {
// The character encoding of the frame on which the menu is invoked.
std::string frame_charset;
+ webkit_glue::CustomContextMenuContext custom_context;
std::vector<WebMenuItem> custom_items;
ContextMenuParams();
« no previous file with comments | « ppapi/ppapi_cpp.gypi ('k') | webkit/glue/context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698