OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_TREES_MUTATOR_HOST_CLIENT_H_ | 5 #ifndef CC_TREES_MUTATOR_HOST_CLIENT_H_ |
6 #define CC_TREES_MUTATOR_HOST_CLIENT_H_ | 6 #define CC_TREES_MUTATOR_HOST_CLIENT_H_ |
7 | 7 |
8 #include "cc/animation/element_id.h" | 8 #include "cc/animation/element_id.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ElementId element_id, | 46 ElementId element_id, |
47 ElementListType list_type, | 47 ElementListType list_type, |
48 AnimationChangeType change_type, | 48 AnimationChangeType change_type, |
49 bool is_animating) = 0; | 49 bool is_animating) = 0; |
50 | 50 |
51 virtual void ElementOpacityIsAnimatingChanged(ElementId element_id, | 51 virtual void ElementOpacityIsAnimatingChanged(ElementId element_id, |
52 ElementListType list_type, | 52 ElementListType list_type, |
53 AnimationChangeType change_type, | 53 AnimationChangeType change_type, |
54 bool is_animating) = 0; | 54 bool is_animating) = 0; |
55 | 55 |
| 56 virtual void ElementFilterIsAnimatingChanged(ElementId element_id, |
| 57 ElementListType list_type, |
| 58 AnimationChangeType change_type, |
| 59 bool is_animating) = 0; |
| 60 |
56 virtual void ScrollOffsetAnimationFinished() = 0; | 61 virtual void ScrollOffsetAnimationFinished() = 0; |
57 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( | 62 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( |
58 ElementId element_id) const = 0; | 63 ElementId element_id) const = 0; |
59 }; | 64 }; |
60 | 65 |
61 } // namespace cc | 66 } // namespace cc |
62 | 67 |
63 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ | 68 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ |
OLD | NEW |