Chromium Code Reviews| Index: content/renderer/scheduler/renderer_scheduler.h |
| diff --git a/content/renderer/scheduler/renderer_scheduler.h b/content/renderer/scheduler/renderer_scheduler.h |
| index 193200919c5ad8c53799a62ce08e2a103ac79545..f10dc2616d3aac8f3370b1516443d55601744fcf 100644 |
| --- a/content/renderer/scheduler/renderer_scheduler.h |
| +++ b/content/renderer/scheduler/renderer_scheduler.h |
| @@ -46,6 +46,10 @@ class CONTENT_EXPORT RendererScheduler { |
| // on any thread. |
| virtual void DidReceiveInputEvent() = 0; |
| + // Tells the scheduler that the system is displaying an animation. E.g. a |
| + // fling. |
| + virtual void DidAnimate() = 0; |
|
rmcilroy
2014/11/06 00:53:16
Is this called for all animations, or only input r
alex clarke (OOO till 29th)
2014/11/06 19:21:45
Done.
|
| + |
| // 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. |