Chromium Code Reviews

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

Issue 2397753006: scheduler: Detect load RAIL mode (Closed)
Patch Set: Typo Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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