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

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

Issue 1986883002: blimp: Update page load status update indicator to use first paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index a3bc77f156426a2ab8c478cec24a5212a73baf6c..2a4b1d794071d4bc40ec0ae773fe2ef12ee629e8 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -318,6 +318,10 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// paint after a non-empty layout.
virtual void DidFirstVisuallyNonEmptyPaint() {}
+ // This method is invoked when the main frame in the renderer performs the
+ // first paint after a navigation.
+ virtual void DidFirstPaintAfterLoad(RenderWidgetHost* render_widget_host) {}
+
// When WebContents::Stop() is called, the WebContents stops loading and then
// invokes this method. If there are ongoing navigations, their respective
// failure methods will also be invoked.

Powered by Google App Engine
This is Rietveld 408576698