Chromium Code Reviews| Index: cc/trees/mutator_host_client.h |
| diff --git a/cc/trees/mutator_host_client.h b/cc/trees/mutator_host_client.h |
| index ffb2329e7ccad73f3e579e2c52163941b5786e45..fec78758d29d3f54c9bb5b565a5cdfe67b57a45e 100644 |
| --- a/cc/trees/mutator_host_client.h |
| +++ b/cc/trees/mutator_host_client.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| #define CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| +#include "cc/base/cc_export.h" |
| + |
| namespace gfx { |
| class Transform; |
| class ScrollOffset; |
| @@ -17,7 +19,7 @@ class Layer; |
| enum class LayerTreeType { ACTIVE, PENDING }; |
| -class MutatorHostClient { |
| +class CC_EXPORT MutatorHostClient { |
| public: |
| virtual bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const = 0; |
| virtual void SetMutatorsNeedCommit() = 0; |
| @@ -35,6 +37,9 @@ class MutatorHostClient { |
| int layer_id, |
| LayerTreeType tree_type, |
| const gfx::ScrollOffset& scroll_offset) = 0; |
| + |
| + virtual void ScrollOffsetAnimationFinished() {} |
|
ajuma
2015/07/06 17:41:00
This should be pure virtual like the other methods
loyso (OOO)
2015/07/07 04:14:38
Done.
|
| + virtual gfx::ScrollOffset GetScrollOffsetForAnimation(int layer_id) const = 0; |
| }; |
| } // namespace cc |