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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 17846010: <webview>: Move contentload event from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_loadstop
Patch Set: Merge with ToT Created 7 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/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index b8ee7f0d0f673a5aff4f4bbc032d39fff83ce1bf..bc42ceb8accc4fe8d5930d9adee379d4125b4040 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -432,6 +432,9 @@ BrowserPluginGuest* WebContentsImpl::CreateGuest(
BrowserPluginGuest::Create(
guest_instance_id, new_contents, extra_params.Pass());
+ GetContentClient()->browser()->GuestWebContentsCreated(
+ NULL, new_contents, extra_params.Pass());
+
WebContents::CreateParams create_params(browser_context, site_instance);
new_contents->Init(create_params);

Powered by Google App Engine
This is Rietveld 408576698