Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 8a443faa08bfc5cf114435daab8422380cde71cc..478f8aec60e9cf18556ea98490caadc4bdb2810a 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -76,6 +76,13 @@ class WebContents : public PageNavigator, |
const WebContents* base_web_contents, |
const SessionStorageNamespaceMap& session_storage_namespace_map); |
+ |
+ // Creates a WebContents to be used as a browser plugin guest. |
+ CONTENT_EXPORT static WebContents* CreateGuest( |
jam
2012/09/11 20:10:03
this doesn't belong on the content api, since it's
lazyboy
2012/09/11 20:50:53
Moved to WebContentsImpl, thanks.
Done.
|
+ BrowserContext* browser_context, |
+ const std::string& host, |
+ int guest_instance_id); |
+ |
// Returns a WebContents that wraps the RenderViewHost, or NULL if the |
// render view host's delegate isn't a WebContents. |
CONTENT_EXPORT static WebContents* FromRenderViewHost( |