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

Unified Diff: chrome/browser/chromeos/tab_first_render_watcher.cc

Issue 7779010: Implements frame sniffer to watch iframe loading state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 3 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 | « chrome/browser/chromeos/tab_first_render_watcher.h ('k') | chrome/browser/resources/chromeos/login/oobe.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/tab_first_render_watcher.cc
diff --git a/chrome/browser/chromeos/tab_first_render_watcher.cc b/chrome/browser/chromeos/tab_first_render_watcher.cc
index fecb253e5568b7f6e686a83b6c12f886edd3e99c..97683770bf8d4b0a117a1fda1c6ed465e8a54a23 100644
--- a/chrome/browser/chromeos/tab_first_render_watcher.cc
+++ b/chrome/browser/chromeos/tab_first_render_watcher.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chromeos/tab_first_render_watcher.h"
#include "content/browser/renderer_host/render_widget_host.h"
+#include "content/browser/renderer_host/render_view_host.h"
#include "content/common/content_notification_types.h"
#include "content/common/notification_details.h"
#include "content/common/notification_source.h"
@@ -32,6 +33,7 @@ void TabFirstRenderWatcher::Observe(int type,
registrar_.Add(this,
content::NOTIFICATION_RENDER_WIDGET_HOST_DID_PAINT,
Source<RenderWidgetHost>(rwh));
+ delegate_->OnRenderHostCreated(Details<RenderViewHost>(details).ptr());
break;
}
case content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME:
« no previous file with comments | « chrome/browser/chromeos/tab_first_render_watcher.h ('k') | chrome/browser/resources/chromeos/login/oobe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698