Chromium Code Reviews| Index: cc/trees/layer_tree_host_client.h |
| diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h |
| index 74dcbc0cff24631873737c4cdc42341e1051f4ed..afde7aeb92337c9f49bf8d15fdd8ba94ee910d03 100644 |
| --- a/cc/trees/layer_tree_host_client.h |
| +++ b/cc/trees/layer_tree_host_client.h |
| @@ -17,6 +17,7 @@ namespace cc { |
| class ContextProvider; |
| class InputHandlerClient; |
| class OutputSurface; |
| +struct BeginFrameArgs; |
|
mithro-old
2014/08/11 07:33:33
What is the chrome policy of doing this rather tha
Sami
2014/08/11 17:51:26
It's to cut down on time spent parsing the same he
|
| class LayerTreeHostClient { |
| public: |
| @@ -24,7 +25,7 @@ class LayerTreeHostClient { |
| // Marks finishing compositing-related tasks on the main thread. In threaded |
| // mode, this corresponds to DidCommit(). |
| virtual void DidBeginMainFrame() = 0; |
| - virtual void Animate(base::TimeTicks frame_begin_time) = 0; |
| + virtual void BeginMainFrame(const BeginFrameArgs& args) = 0; |
| virtual void Layout() = 0; |
| virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, |
| float page_scale) = 0; |