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

Unified Diff: content/public/browser/web_contents.h

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: Rework tests to use timeouts instead of waiting indefinitely, not store any Guest* in embedder. Created 8 years, 3 months 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/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(

Powered by Google App Engine
This is Rietveld 408576698