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_; |