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_TIMELINE_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_TIMELINE_H_ |
6 #define CC_ANIMATION_ANIMATION_TIMELINE_H_ | 6 #define CC_ANIMATION_ANIMATION_TIMELINE_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <unordered_map> | 9 #include <unordered_map> |
9 | 10 |
10 #include "base/macros.h" | 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class AnimationHost; | 17 class AnimationHost; |
18 class AnimationPlayer; | 18 class AnimationPlayer; |
19 | 19 |
20 // An AnimationTimeline owns a group of AnimationPlayers. | 20 // An AnimationTimeline owns a group of AnimationPlayers. |
21 // This is a cc counterpart for blink::AnimationTimeline (in 1:1 relationship). | 21 // This is a cc counterpart for blink::AnimationTimeline (in 1:1 relationship). |
22 // Each AnimationTimeline and its AnimationPlayers have their copies on | 22 // Each AnimationTimeline and its AnimationPlayers have their copies on |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // Impl-only AnimationTimeline has no main thread instance and lives on | 68 // Impl-only AnimationTimeline has no main thread instance and lives on |
69 // it's own. | 69 // it's own. |
70 bool is_impl_only_; | 70 bool is_impl_only_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(AnimationTimeline); | 72 DISALLOW_COPY_AND_ASSIGN(AnimationTimeline); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace cc | 75 } // namespace cc |
76 | 76 |
77 #endif // CC_ANIMATION_ANIMATION_TIMELINE_H_ | 77 #endif // CC_ANIMATION_ANIMATION_TIMELINE_H_ |
OLD | NEW |