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_ELEMENT_ANIMATIONS_H_ | 5 #ifndef CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ | 6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "cc/base/cc_export.h" | 15 #include "cc/base/cc_export.h" |
16 #include "cc/trees/element_id.h" | 16 #include "cc/trees/element_id.h" |
17 #include "cc/trees/property_animation_state.h" | 17 #include "cc/trees/property_animation_state.h" |
18 #include "cc/trees/target_property.h" | 18 #include "cc/trees/target_property.h" |
19 #include "ui/gfx/geometry/scroll_offset.h" | 19 #include "ui/gfx/geometry/scroll_offset.h" |
20 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class BoxF; | 23 class BoxF; |
24 } | 24 } |
25 | 25 |
26 namespace cc { | 26 namespace cc { |
27 | 27 |
28 class AnimationDelegate; | |
29 class AnimationEvents; | 28 class AnimationEvents; |
30 class AnimationHost; | 29 class AnimationHost; |
31 class AnimationPlayer; | 30 class AnimationPlayer; |
32 class FilterOperations; | 31 class FilterOperations; |
33 enum class ElementListType; | 32 enum class ElementListType; |
34 struct AnimationEvent; | 33 struct AnimationEvent; |
35 | 34 |
36 // An ElementAnimations owns a list of all AnimationPlayers, attached to | 35 // An ElementAnimations owns a list of all AnimationPlayers, attached to |
37 // the element. | 36 // the element. |
38 // This is a CC counterpart for blink::ElementAnimations (in 1:1 relationship). | 37 // This is a CC counterpart for blink::ElementAnimations (in 1:1 relationship). |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 PropertyAnimationState pending_state_; | 218 PropertyAnimationState pending_state_; |
220 | 219 |
221 bool needs_update_impl_client_state_; | 220 bool needs_update_impl_client_state_; |
222 | 221 |
223 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); | 222 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); |
224 }; | 223 }; |
225 | 224 |
226 } // namespace cc | 225 } // namespace cc |
227 | 226 |
228 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ | 227 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
OLD | NEW |