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

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

Issue 2791223002: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: DCHECK update Created 3 years, 8 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/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index 574264702fea62b65e7897d800c674f362407292..e490737eb8b631f177e7608b93d2c9220e2230b9 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -76,6 +76,9 @@ class WebWidget {
virtual void didEnterFullscreen() {}
virtual void didExitFullscreen() {}
+ // TODO(crbug.com/704763): Remove the need for this.
+ virtual void setSuppressFrameRequestsWorkaroundFor704763Only(bool) {}
+
// Called to update imperative animation state. This should be called before
// paint, although the client can rate-limit these calls.
// |lastFrameTimeMonotonic| is in seconds.

Powered by Google App Engine
This is Rietveld 408576698