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

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

Issue 10735010: 3D Compositing in <browser>, first draft. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use the correct baseline Created 8 years, 4 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
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/common/browser_plugin_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5e0a13d5ee89ce5beae2e228f8c5727facdf764d..41d377acf582a98447b1afa64150c3a81a2ba620 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3094,6 +3094,11 @@ bool WebContentsImpl::CreateRenderViewForRenderManager(
int32 max_page_id =
GetMaxPageIDForSiteInstance(render_view_host->GetSiteInstance());
+ content::NotificationService::current()->Notify(
+ content::NOTIFICATION_WEB_CONTENTS_WILL_CREATE_RENDER_VIEW,
+ content::Source<WebContents>(this),
+ content::Details<RenderViewHost>(render_view_host));
+
std::string embedder_channel_name;
int embedder_container_id;
GetBrowserPluginEmbedderInfo(render_view_host,
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/common/browser_plugin_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698