| 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 <memory> | 8 #include <memory> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 bool HasPotentiallyRunningFilterAnimation(ElementId element_id, | 101 bool HasPotentiallyRunningFilterAnimation(ElementId element_id, |
| 102 ElementListType list_type) const; | 102 ElementListType list_type) const; |
| 103 bool HasPotentiallyRunningOpacityAnimation(ElementId element_id, | 103 bool HasPotentiallyRunningOpacityAnimation(ElementId element_id, |
| 104 ElementListType list_type) const; | 104 ElementListType list_type) const; |
| 105 bool HasPotentiallyRunningTransformAnimation(ElementId element_id, | 105 bool HasPotentiallyRunningTransformAnimation(ElementId element_id, |
| 106 ElementListType list_type) const; | 106 ElementListType list_type) const; |
| 107 | 107 |
| 108 bool HasAnyAnimationTargetingProperty(ElementId element_id, | 108 bool HasAnyAnimationTargetingProperty(ElementId element_id, |
| 109 TargetProperty::Type property) const; | 109 TargetProperty::Type property) const; |
| 110 | 110 |
| 111 bool FilterIsAnimatingOnImplOnly(ElementId element_id) const; | |
| 112 bool OpacityIsAnimatingOnImplOnly(ElementId element_id) const; | |
| 113 bool ScrollOffsetIsAnimatingOnImplOnly(ElementId element_id) const; | 111 bool ScrollOffsetIsAnimatingOnImplOnly(ElementId element_id) const; |
| 114 bool TransformIsAnimatingOnImplOnly(ElementId element_id) const; | |
| 115 | 112 |
| 116 bool HasFilterAnimationThatInflatesBounds(ElementId element_id) const; | 113 bool HasFilterAnimationThatInflatesBounds(ElementId element_id) const; |
| 117 bool HasTransformAnimationThatInflatesBounds(ElementId element_id) const; | 114 bool HasTransformAnimationThatInflatesBounds(ElementId element_id) const; |
| 118 bool HasAnimationThatInflatesBounds(ElementId element_id) const; | 115 bool HasAnimationThatInflatesBounds(ElementId element_id) const; |
| 119 | 116 |
| 120 bool FilterAnimationBoundsForBox(ElementId element_id, | 117 bool FilterAnimationBoundsForBox(ElementId element_id, |
| 121 const gfx::BoxF& box, | 118 const gfx::BoxF& box, |
| 122 gfx::BoxF* bounds) const; | 119 gfx::BoxF* bounds) const; |
| 123 bool TransformAnimationBoundsForBox(ElementId element_id, | 120 bool TransformAnimationBoundsForBox(ElementId element_id, |
| 124 const gfx::BoxF& box, | 121 const gfx::BoxF& box, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 192 |
| 196 bool supports_scroll_animations_; | 193 bool supports_scroll_animations_; |
| 197 bool animation_waiting_for_deletion_; | 194 bool animation_waiting_for_deletion_; |
| 198 | 195 |
| 199 DISALLOW_COPY_AND_ASSIGN(AnimationHost); | 196 DISALLOW_COPY_AND_ASSIGN(AnimationHost); |
| 200 }; | 197 }; |
| 201 | 198 |
| 202 } // namespace cc | 199 } // namespace cc |
| 203 | 200 |
| 204 #endif // CC_ANIMATION_ANIMATION_HOST_H_ | 201 #endif // CC_ANIMATION_ANIMATION_HOST_H_ |
| OLD | NEW |