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_ANIMATION_ANIMATION_HOST_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_HOST_H_ |
6 #define CC_ANIMATION_ANIMATION_HOST_H_ | 6 #define CC_ANIMATION_ANIMATION_HOST_H_ |
7 | 7 |
8 #include <unordered_map> | 8 #include <unordered_map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool IsAnimatingTransformProperty(int layer_id, | 103 bool IsAnimatingTransformProperty(int layer_id, |
104 LayerTreeType tree_type) const; | 104 LayerTreeType tree_type) const; |
105 | 105 |
106 bool HasPotentiallyRunningFilterAnimation(int layer_id, | 106 bool HasPotentiallyRunningFilterAnimation(int layer_id, |
107 LayerTreeType tree_type) const; | 107 LayerTreeType tree_type) const; |
108 bool HasPotentiallyRunningOpacityAnimation(int layer_id, | 108 bool HasPotentiallyRunningOpacityAnimation(int layer_id, |
109 LayerTreeType tree_type) const; | 109 LayerTreeType tree_type) const; |
110 bool HasPotentiallyRunningTransformAnimation(int layer_id, | 110 bool HasPotentiallyRunningTransformAnimation(int layer_id, |
111 LayerTreeType tree_type) const; | 111 LayerTreeType tree_type) const; |
112 | 112 |
113 bool HasAnyAnimationTargetingProperty( | 113 bool HasAnyAnimationTargetingProperty(int layer_id, |
114 int layer_id, | 114 TargetProperty::Type property) const; |
115 Animation::TargetProperty property) const; | |
116 | 115 |
117 bool FilterIsAnimatingOnImplOnly(int layer_id) const; | 116 bool FilterIsAnimatingOnImplOnly(int layer_id) const; |
118 bool OpacityIsAnimatingOnImplOnly(int layer_id) const; | 117 bool OpacityIsAnimatingOnImplOnly(int layer_id) const; |
119 bool TransformIsAnimatingOnImplOnly(int layer_id) const; | 118 bool TransformIsAnimatingOnImplOnly(int layer_id) const; |
120 | 119 |
121 bool HasFilterAnimationThatInflatesBounds(int layer_id) const; | 120 bool HasFilterAnimationThatInflatesBounds(int layer_id) const; |
122 bool HasTransformAnimationThatInflatesBounds(int layer_id) const; | 121 bool HasTransformAnimationThatInflatesBounds(int layer_id) const; |
123 bool HasAnimationThatInflatesBounds(int layer_id) const; | 122 bool HasAnimationThatInflatesBounds(int layer_id) const; |
124 | 123 |
125 bool FilterAnimationBoundsForBox(int layer_id, | 124 bool FilterAnimationBoundsForBox(int layer_id, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 scoped_ptr<ScrollOffsetAnimations> scroll_offset_animations_; | 178 scoped_ptr<ScrollOffsetAnimations> scroll_offset_animations_; |
180 | 179 |
181 const ThreadInstance thread_instance_; | 180 const ThreadInstance thread_instance_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(AnimationHost); | 182 DISALLOW_COPY_AND_ASSIGN(AnimationHost); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace cc | 185 } // namespace cc |
187 | 186 |
188 #endif // CC_ANIMATION_ANIMATION_HOST_H_ | 187 #endif // CC_ANIMATION_ANIMATION_HOST_H_ |
OLD | NEW |