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

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

Issue 336283002: Remove GuestWebContentsCreated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_creation
Patch Set: Fix diff Created 6 years, 6 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 48accc4a763d2d0346977feed157dee64b8a8c8a..d57cefb56f82c37296480ec37d1a119c205dab62 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -141,24 +141,6 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
WebContents* web_contents);
- // 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
- // an |opener_web_contents|, then it's a new window created by that opener.
- // If the guest was created via navigation, then |extra_params| will be
- // non-NULL. |extra_params| are parameters passed to the BrowserPlugin object
- // element by the content embedder. These parameters may include the API to
- // enable for the given guest. |guest_delegate| is a return parameter of
- // the delegate in the content embedder that will service the guest in the
- // content layer. The content layer takes ownership of the |guest_delegate|.
- virtual void GuestWebContentsCreated(
- int guest_instance_id,
- SiteInstance* guest_site_instance,
- WebContents* guest_web_contents,
- WebContents* opener_web_contents,
- BrowserPluginGuestDelegate** guest_delegate,
- scoped_ptr<base::DictionaryValue> extra_params) {}
-
// Notifies that a render process will be created. This is called before
// the content layer adds its own BrowserMessageFilters, so that the
// embedder's IPC filters have priority.

Powered by Google App Engine
This is Rietveld 408576698