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