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

Unified Diff: content/browser/tab_contents/navigation_entry.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/navigation_entry.h
diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h
index 6b139a189d74efa858fb23cd4bf549fc7129c873..d27cba6ae5947cb406d21285c1392c82a1e608e1 100644
--- a/content/browser/tab_contents/navigation_entry.h
+++ b/content/browser/tab_contents/navigation_entry.h
@@ -331,6 +331,15 @@ class CONTENT_EXPORT NavigationEntry {
return extra_headers_;
}
+ // Used to support swapouts of frames with non-null openers
Charlie Reis 2011/12/12 22:20:36 End comments with a period.
supersat 2011/12/15 19:30:49 Done.
+ void set_opener_browsing_instance_frame_id(int64 id) {
+ opener_browsing_instance_frame_id_ = id;
+ }
+
+ int64 opener_browsing_instance_frame_id() const {
+ return opener_browsing_instance_frame_id_;
+ }
+
// Page-related helpers ------------------------------------------------------
// Returns the title to be displayed on the tab. This could be the title of
@@ -447,6 +456,7 @@ class CONTENT_EXPORT NavigationEntry {
GURL user_typed_url_;
bool has_post_data_;
RestoreType restore_type_;
+ int64 opener_browsing_instance_frame_id_;
// This member is not persisted with sesssion restore.
std::string extra_headers_;

Powered by Google App Engine
This is Rietveld 408576698