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

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: Created 9 years, 1 month 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 9369a7aff70d96e0ca5f0e014cfb96b606bf2f76..c02a43f82a2bdc485356bfa52c2f55ab187deb01 100644
--- a/content/browser/tab_contents/page_navigator.h
+++ b/content/browser/tab_contents/page_navigator.h
@@ -24,7 +24,8 @@ struct CONTENT_EXPORT OpenURLParams {
const GURL& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition,
- bool is_renderer_initiated);
+ bool is_renderer_initiated,
+ int64 opener_browsing_instance_frame_id = -1);
~OpenURLParams();
class TabContents;
@@ -44,6 +45,9 @@ class TabContents;
// 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;
+
private:
OpenURLParams();
};

Powered by Google App Engine
This is Rietveld 408576698