Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index d606c06dbc78b7c382bb4390cb0a739ce97a89f8..9e779b8be76fa59c5bfaaeaf0b276145c3bee574 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -139,6 +139,11 @@ class CONTENT_EXPORT WebContentsImpl |
// TODO(creis): Remove this now that we can get to it via FrameTreeNode. |
RenderFrameHostManager* GetRenderManagerForTesting(); |
+ // Returns the outer WebContents of this WebContents if any. |
+ // Note that without --site-per-process, this will return the WebContents |
+ // of the BrowserPluginEmbedder, if |this| is a guest. |
+ WebContentsImpl* GetOuterWebContents(); |
+ |
// Returns guest browser plugin object, or NULL if this WebContents is not a |
// guest. |
BrowserPluginGuest* GetBrowserPluginGuest() const; |