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

Unified Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2397753006: scheduler: Detect load RAIL mode (Closed)
Patch Set: Add fallback for missing FMP Created 4 years, 1 month 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/platform/WebFrameScheduler.h
diff --git a/third_party/WebKit/public/platform/WebFrameScheduler.h b/third_party/WebKit/public/platform/WebFrameScheduler.h
index d8be1dfebe62f6b88942e2bfe2f24d407dec5d7d..1228b392e6b81d9a7249fc3e529d8aa81dadeffb 100644
--- a/third_party/WebKit/public/platform/WebFrameScheduler.h
+++ b/third_party/WebKit/public/platform/WebFrameScheduler.h
@@ -63,6 +63,10 @@ class BLINK_PLATFORM_EXPORT WebFrameScheduler {
// tells the scheduler not to advance virtual time if it's using the
// DETERMINISTIC_LOADING policy.
virtual void setDocumentParsingInBackground(bool) {}
+
+ // Tells the scheduler that the first meaningful paint has occured for this
+ // frame.
+ virtual void onFirstMeaningfulPaint() {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698