Index: content/renderer/scheduler/renderer_scheduler_impl.h |
diff --git a/content/renderer/scheduler/renderer_scheduler_impl.h b/content/renderer/scheduler/renderer_scheduler_impl.h |
index e45379be2ed77f0feff5099156fe8510191bffc9..ee50eb0e40007e4529589b9c1744c407c3410707 100644 |
--- a/content/renderer/scheduler/renderer_scheduler_impl.h |
+++ b/content/renderer/scheduler/renderer_scheduler_impl.h |
@@ -28,7 +28,9 @@ class CONTENT_EXPORT RendererSchedulerImpl : public RendererScheduler { |
scoped_refptr<SingleThreadIdleTaskRunner> IdleTaskRunner() override; |
void WillBeginFrame(const cc::BeginFrameArgs& args) override; |
void DidCommitFrameToCompositor() override; |
- void DidReceiveInputEventOnCompositorThread() override; |
+ void DidReceiveInputEventOnCompositorThread( |
+ blink::WebInputEvent::Type type) override; |
+ void DidAnimateForInputOnCompositorThread() override; |
bool ShouldYieldForHighPriorityWork() override; |
void Shutdown() override; |
@@ -91,6 +93,9 @@ class CONTENT_EXPORT RendererSchedulerImpl : public RendererScheduler { |
// Updates the scheduler policy. Must be called from the main thread. |
void UpdatePolicy(); |
+ // An input event of some sort happened, the policy may need updating. |
+ void UpdateForInputEvent(); |
+ |
// Start and end an idle period. |
void StartIdlePeriod(); |
void EndIdlePeriod(); |