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

Unified Diff: content/public/browser/page_navigator.h

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: Address Charlie's comments Created 3 years, 10 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
Index: content/public/browser/page_navigator.h
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index 945c96ec763622ccb5d52ba036cd723e8867deec..eb9e6a83e15df25bca29789867a3d613a0b88504 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -15,8 +15,10 @@
#include "content/common/content_export.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/site_instance.h"
+#include "content/public/common/child_process_host.h"
#include "content/public/common/referrer.h"
#include "content/public/common/resource_request_body.h"
+#include "ipc/ipc_message.h"
#include "ui/base/page_transition_types.h"
#include "ui/base/window_open_disposition.h"
#include "url/gurl.h"
@@ -71,6 +73,12 @@ struct CONTENT_EXPORT OpenURLParams {
// The browser-global FrameTreeNode ID or -1 to indicate the main frame.
int frame_tree_node_id;
+ // Routing id of the source RenderFrameHost.
+ int source_render_frame_id = MSG_ROUTING_NONE;
+
+ // Process id of the source RenderFrameHost.
+ int source_render_process_id = ChildProcessHost::kInvalidUniqueID;
+
// The disposition requested by the navigation source.
WindowOpenDisposition disposition;

Powered by Google App Engine
This is Rietveld 408576698