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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( |
114 int layer_id, | 114 int layer_id, |
115 Animation::TargetProperty property) const; | 115 AnimationTargetProperty::Enum property) const; |
116 | 116 |
117 bool FilterIsAnimatingOnImplOnly(int layer_id) const; | 117 bool FilterIsAnimatingOnImplOnly(int layer_id) const; |
118 bool OpacityIsAnimatingOnImplOnly(int layer_id) const; | 118 bool OpacityIsAnimatingOnImplOnly(int layer_id) const; |
119 bool TransformIsAnimatingOnImplOnly(int layer_id) const; | 119 bool TransformIsAnimatingOnImplOnly(int layer_id) const; |
120 | 120 |
121 bool HasFilterAnimationThatInflatesBounds(int layer_id) const; | 121 bool HasFilterAnimationThatInflatesBounds(int layer_id) const; |
122 bool HasTransformAnimationThatInflatesBounds(int layer_id) const; | 122 bool HasTransformAnimationThatInflatesBounds(int layer_id) const; |
123 bool HasAnimationThatInflatesBounds(int layer_id) const; | 123 bool HasAnimationThatInflatesBounds(int layer_id) const; |
124 | 124 |
125 bool FilterAnimationBoundsForBox(int layer_id, | 125 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_; | 179 scoped_ptr<ScrollOffsetAnimations> scroll_offset_animations_; |
180 | 180 |
181 const ThreadInstance thread_instance_; | 181 const ThreadInstance thread_instance_; |
182 | 182 |
183 DISALLOW_COPY_AND_ASSIGN(AnimationHost); | 183 DISALLOW_COPY_AND_ASSIGN(AnimationHost); |
184 }; | 184 }; |
185 | 185 |
186 } // namespace cc | 186 } // namespace cc |
187 | 187 |
188 #endif // CC_ANIMATION_ANIMATION_HOST_H_ | 188 #endif // CC_ANIMATION_ANIMATION_HOST_H_ |
OLD | NEW |