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

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: Addressed Wez's comments. 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 1b8f1996095c2a5fa5fac80b1fe1534f5c14b98e..4eb853d0b5b85aeca56655a9020581cd511ff965 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
nasko 2016/05/24 21:39:22 nit: s/renderer/renderer process/
Khushal 2016/05/26 01:43:00 Done.
+ // 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