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

Unified Diff: webkit/glue/context_menu.h

Issue 8774050: Pass along the referrer policy (renderer side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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 | « content/renderer/render_view_impl.cc ('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 128b47cc026a04685b31f1c69bdd5022c4519d0d..cbbec3875b04ddc491528a140c19b889e493db2a 100644
--- a/webkit/glue/context_menu.h
+++ b/webkit/glue/context_menu.h
@@ -14,6 +14,7 @@
#include "webkit/glue/webmenuitem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h"
namespace webkit_glue {
@@ -126,6 +127,9 @@ struct WEBKIT_GLUE_EXPORT ContextMenuParams {
// The character encoding of the frame on which the menu is invoked.
std::string frame_charset;
+ // The referrer policy of the frame on which the menu is invoked.
+ WebKit::WebReferrerPolicy referrer_policy;
+
webkit_glue::CustomContextMenuContext custom_context;
std::vector<WebMenuItem> custom_items;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/glue/context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698