Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 38830c3a86cbf2a8cfa0ed931e21c698c4238053..0836512db9140ba0416d1e0fbe3583d7e5f9f301 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -93,7 +93,13 @@ class WebContents : public PageNavigator, |
// privileged process. |
SiteInstance* site_instance; |
+ // The opener WebContents is the WebContents that initiated this request, |
+ // if any. |
WebContents* opener; |
+ |
+ // If the opener is suppressed, then the new WebContents doesn't hold a |
+ // reference to its opener. |
+ bool opener_suppressed; |
int routing_id; |
int main_frame_routing_id; |
@@ -194,15 +200,6 @@ class WebContents : public PageNavigator, |
// Gets the current RenderViewHost for this tab. |
virtual RenderViewHost* GetRenderViewHost() const = 0; |
- // Returns the WebContents embedding this WebContents, if any. |
- // If this is a top-level WebContents then it returns NULL. |
- virtual WebContents* GetEmbedderWebContents() const = 0; |
- |
- // Gets the instance ID of the current WebContents if it is embedded |
- // within a BrowserPlugin. The instance ID of a WebContents uniquely |
- // identifies it within its embedder WebContents. |
- virtual int GetEmbeddedInstanceID() const = 0; |
- |
// Gets the current RenderViewHost's routing id. Returns |
// MSG_ROUTING_NONE when there is no RenderViewHost. |
virtual int GetRoutingID() const = 0; |