| 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_PLAYER_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_PLAYER_H_ |
| 6 #define CC_ANIMATION_ANIMATION_PLAYER_H_ | 6 #define CC_ANIMATION_ANIMATION_PLAYER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "cc/animation/animation.h" | 13 #include "cc/animation/animation.h" |
| 14 #include "cc/animation/animation_curve.h" | 14 #include "cc/animation/animation_curve.h" |
| 15 #include "cc/animation/element_animations.h" | 15 #include "cc/animation/element_animations.h" |
| 16 #include "cc/animation/element_id.h" | |
| 17 #include "cc/base/cc_export.h" | 16 #include "cc/base/cc_export.h" |
| 17 #include "cc/trees/element_id.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 class AnimationDelegate; | 21 class AnimationDelegate; |
| 22 class AnimationHost; | 22 class AnimationHost; |
| 23 class AnimationTimeline; | 23 class AnimationTimeline; |
| 24 struct AnimationEvent; | 24 struct AnimationEvent; |
| 25 struct PropertyAnimationState; | 25 struct PropertyAnimationState; |
| 26 | 26 |
| 27 // An AnimationPlayer owns all animations to be run on particular CC Layer. | 27 // An AnimationPlayer owns all animations to be run on particular CC Layer. |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // Only try to start animations when new animations are added or when the | 193 // Only try to start animations when new animations are added or when the |
| 194 // previous attempt at starting animations failed to start all animations. | 194 // previous attempt at starting animations failed to start all animations. |
| 195 bool needs_to_start_animations_; | 195 bool needs_to_start_animations_; |
| 196 | 196 |
| 197 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); | 197 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 } // namespace cc | 200 } // namespace cc |
| 201 | 201 |
| 202 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_ | 202 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_ |
| OLD | NEW |