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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 334923002: Remove ContentBrowserClient::GuestWebContentsAttached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_adview
Patch Set: Added missing file 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index e2c8d46371a962eb35cd65d30b0b73cce1f4ce65..1846e2df54097da56eba1d5114ef56a2b6fddbfb 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -885,25 +885,6 @@ void ChromeContentBrowserClient::GuestWebContentsCreated(
#endif // defined(ENABLE_EXTENSIONS)
}
-void ChromeContentBrowserClient::GuestWebContentsAttached(
- WebContents* guest_web_contents,
- WebContents* embedder_web_contents,
- const base::DictionaryValue& extra_params) {
-#if defined(ENABLE_EXTENSIONS)
- GuestViewBase* guest = GuestViewBase::FromWebContents(guest_web_contents);
- if (!guest) {
- // It's ok to return here, since we could be running a browser plugin
- // outside an extension, and don't need to attach a
- // BrowserPluginGuestDelegate in that case;
- // e.g. running with flag --enable-browser-plugin-for-all-view-types.
- return;
- }
- guest->Attach(embedder_web_contents, extra_params);
-#else
- NOTREACHED();
-#endif // defined(ENABLE_EXTENSIONS)
-}
-
void ChromeContentBrowserClient::RenderProcessWillLaunch(
content::RenderProcessHost* host) {
int id = host->GetID();

Powered by Google App Engine
This is Rietveld 408576698