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

Unified Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 1376003002: Make rendering timeouts work even if paint data received early (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cursor
Patch Set: Review comments addressed Created 5 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
Index: third_party/WebKit/public/web/WebWidgetClient.h
diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h
index c1ce416eb6c0355249171c581bc26725f8459619..2c1bfca8e7f234531e8e9c8431244e7811594a6a 100644
--- a/third_party/WebKit/public/web/WebWidgetClient.h
+++ b/third_party/WebKit/public/web/WebWidgetClient.h
@@ -91,6 +91,10 @@ public:
// Another way to put it: first frame produced after DOMContentLoaded was dispatched.
virtual void didFirstLayoutAfterFinishedParsing() { }
+ // Signal that a new page has loaded. This attaches a message to the
+ // next compositor frame after a page load commit.
+ virtual void didFirstPaintAfterLoad() { }
+
// Called when the widget acquires or loses focus, respectively.
virtual void didFocus() { }
virtual void didBlur() { }

Powered by Google App Engine
This is Rietveld 408576698