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

Unified Diff: content/browser/tab_contents/tab_contents.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/tab_contents.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 3f70a58e521b08e73631de9ecde419c1af7c7f45..2db09fec7b353807c6d6c982870e4cf966027da2 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -50,6 +50,10 @@ namespace webkit_glue {
struct WebIntentData;
}
+namespace content {
+class BrowsingInstanceFrame;
+}
+
// Describes what goes in the main content area of a tab. TabContents is
// the only type of TabContents, and these should be merged together.
class CONTENT_EXPORT TabContents : public PageNavigator,
@@ -512,12 +516,14 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
virtual void RequestOpenURL(const GURL& url,
const content::Referrer& referrer,
WindowOpenDisposition disposition,
- int64 source_frame_id) OVERRIDE;
+ int64 source_frame_id,
+ int64 opener_browsing_instance_frame_id) OVERRIDE;
virtual void RequestTransferURL(
const GURL& url,
const content::Referrer& referrer,
WindowOpenDisposition disposition,
int64 source_frame_id,
+ int64 opener_browsing_instance_frame_id,
const GlobalRequestID& transferred_global_request_id) OVERRIDE;
virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
const string16& message,
@@ -885,6 +891,9 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
// Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
content::ViewType view_type_;
+ // The BrowsingInstanceFrameId for this tab
+ content::BrowsingInstanceFrame* browsing_instance_frame_;
+
DISALLOW_COPY_AND_ASSIGN(TabContents);
};

Powered by Google App Engine
This is Rietveld 408576698