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

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

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: New patch, still not quite done 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
Index: content/browser/tab_contents/page_navigator.h
diff --git a/content/browser/tab_contents/page_navigator.h b/content/browser/tab_contents/page_navigator.h
index 4ec0a3bba597ebe3667fe1ea5ad3524cc447232c..e477f5af426fbf7a132bce61bcfa55066afc188e 100644
--- a/content/browser/tab_contents/page_navigator.h
+++ b/content/browser/tab_contents/page_navigator.h
@@ -26,7 +26,8 @@ struct CONTENT_EXPORT OpenURLParams {
const content::Referrer& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition,
- bool is_renderer_initiated);
+ bool is_renderer_initiated,
+ int64 opener_browsing_instance_frame_id = -1);
~OpenURLParams();
// The URL/referrer to be opened.
@@ -45,6 +46,9 @@ struct CONTENT_EXPORT OpenURLParams {
// The override encoding of the URL contents to be opened.
std::string override_encoding;
+ // The frame id of source frame's opener, or -1 if none exists
+ int64 opener_browsing_instance_frame_id;
+
// Reference to the old request id in case this is a navigation that is being
// transferred to a new renderer.
GlobalRequestID transferred_global_request_id;

Powered by Google App Engine
This is Rietveld 408576698