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

Unified Diff: content/renderer/scheduler/renderer_scheduler.h

Issue 692483002: Hook up DidReceiveInputEvent to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Responding to Ross' suggestion Created 6 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: content/renderer/scheduler/renderer_scheduler.h
diff --git a/content/renderer/scheduler/renderer_scheduler.h b/content/renderer/scheduler/renderer_scheduler.h
index 39945ae65b3208221ee86686db213d7ed9fbd5df..d88efc15019d044aa4e1b7fed5f0a53f939712ab 100644
--- a/content/renderer/scheduler/renderer_scheduler.h
+++ b/content/renderer/scheduler/renderer_scheduler.h
@@ -43,6 +43,10 @@ class CONTENT_EXPORT RendererScheduler {
// compositor (impl) thread.
virtual void DidReceiveInputEventOnCompositorThread() = 0;
+ // Tells the scheduler that the system is displaying an input animation (e.g.
+ // a fling). Called by the compositor (impl) thread.
+ virtual void DidAnimateForInputOnCompositorThread() = 0;
+
// Returns true if there is high priority work pending on the main thread
// and the caller should yield to let the scheduler service that work.
// Must be called from the main thread.

Powered by Google App Engine
This is Rietveld 408576698