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 f87f71d108a5af9da1417ef867faf84274d349dd..6524241ba05bfc3a4df3b55a5ed8e389673d0c79 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -103,6 +103,12 @@ class CONTENT_EXPORT WebContentsImpl |
static webkit_glue::WebPreferences GetWebkitPrefs( |
content::RenderViewHost* rvh, const GURL& url); |
+ // Creates a swapped out RenderView. This is used by the browser plugin to |
+ // create a swapped out RenderView in the embedder render process for the |
+ // guest, to expose the guest's window object to the embedder. |
+ // This returns the routing ID of the newly created swapped out RenderView. |
+ int CreateSwappedOutRenderView(content::SiteInstance* instance); |
+ |
// Complex initialization here. Specifically needed to avoid having |
// members call back into our virtual functions in the constructor. |
virtual void Init(content::BrowserContext* browser_context, |