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

Unified Diff: public/platform/WebSchedulerProxy.h

Issue 554693004: Adds a didReceiveInputEvent api to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed an assert issue Created 6 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
« no previous file with comments | « Source/platform/scheduler/SchedulerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebSchedulerProxy.h
diff --git a/public/platform/WebSchedulerProxy.h b/public/platform/WebSchedulerProxy.h
index f59ff991caf0d8e6e2a9fcb8f6e0cd6785a9632b..9c32d77f6788e2d21cf97b50625dde415e00bd7b 100644
--- a/public/platform/WebSchedulerProxy.h
+++ b/public/platform/WebSchedulerProxy.h
@@ -27,6 +27,9 @@ public:
// ownership of |Task|. Can be called from any thread.
BLINK_PLATFORM_EXPORT void postCompositorTask(const WebTraceLocation&, WebThread::Task*);
+ // Tells the scheduler that the system received an input event and it should go into low latency mode for a while.
+ BLINK_PLATFORM_EXPORT void didReceiveInputEvent();
+
private:
WebSchedulerProxy();
« no previous file with comments | « Source/platform/scheduler/SchedulerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698