Index: third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h |
diff --git a/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h b/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h |
index 17fadc04dcb2a964a32a925fba2e971a8419e345..0e9e78b492a60313a7b5d9dee5744e568084ff24 100644 |
--- a/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h |
+++ b/third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h |
@@ -109,6 +109,10 @@ class BLINK_PLATFORM_EXPORT RendererScheduler : public ChildScheduler { |
const WebInputEvent& web_input_event, |
WebInputEventResult result) = 0; |
+ // Returns the most recently reported expected queueing time, computed over |
+ // the past 1 second window. |
+ virtual base::TimeDelta MostRecentExpectedQueueingTime() = 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; |