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

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: 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/navigation_entry.h
diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h
index eea3f350213ba3a1a7d71533dcaca5d2a63b8458..19967ef5896cfb9de168da4346c9386b8a926bb7 100644
--- a/content/browser/tab_contents/navigation_entry.h
+++ b/content/browser/tab_contents/navigation_entry.h
@@ -329,6 +329,15 @@ class CONTENT_EXPORT NavigationEntry {
return extra_headers_;
}
+ // Used to support swapouts of frames with non-null openers
+ 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
@@ -436,6 +445,7 @@ class CONTENT_EXPORT NavigationEntry {
GURL user_typed_url_;
bool has_post_data_;
RestoreType restore_type_;
+ int64 opener_browsing_instance_frame_id_;
Charlie Reis 2011/12/01 23:13:02 Do we need to persist this? (I suppose it could l
supersat 2011/12/09 23:08:20 We'll only need to persist this if we restore scri
Charlie Reis 2011/12/12 22:20:36 Let's avoid persisting it for now, then, and we ca
supersat 2011/12/15 19:30:49 Done.
// This member is not persisted with sesssion restore.
std::string extra_headers_;

Powered by Google App Engine
This is Rietveld 408576698