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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 6 years, 8 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/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index ac40ae2cd57e1655844c604f5a40a7442db8f6e2..c6ab715fb23b579528aa4198f6229e5ffb1ccf06 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -85,6 +85,7 @@ class BrowserChildProcessHost;
class BrowserContext;
class BrowserMainParts;
class BrowserPluginGuestDelegate;
+class BrowserPluginGuestManagerDelegate;
class BrowserPpapiHost;
class BrowserURLHandler;
class DesktopNotificationDelegate;
@@ -149,6 +150,12 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
WebContents* web_contents);
+ // Notifies that a guest WebContents manager has been created.
+ // |guest_manager_delegate| is a return parameter pointing to the delegate in
+ // the content embedder.
+ virtual BrowserPluginGuestManagerDelegate* GetGuestManagerDelegate(
+ BrowserContext* context);
+
// Notifies that a guest WebContents has been created. A guest WebContents
// represents a renderer that's hosted within a BrowserPlugin. Creation can
// occur an arbitrary length of time before attachment. If the new guest has

Powered by Google App Engine
This is Rietveld 408576698