OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CompositorAnimationTimeline_h | 5 #ifndef CompositorAnimationTimeline_h |
6 #define CompositorAnimationTimeline_h | 6 #define CompositorAnimationTimeline_h |
7 | 7 |
| 8 #include <memory> |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "cc/animation/animation_timeline.h" | 10 #include "cc/animation/animation_timeline.h" |
10 #include "platform/PlatformExport.h" | 11 #include "platform/PlatformExport.h" |
11 #include "wtf/Noncopyable.h" | 12 #include "wtf/Noncopyable.h" |
12 #include "wtf/PtrUtil.h" | 13 #include "wtf/PtrUtil.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class CompositorAnimationPlayerClient; | 17 class CompositorAnimationPlayerClient; |
18 | 18 |
19 // A compositor representation for cc::AnimationTimeline. | 19 // A compositor representation for cc::AnimationTimeline. |
20 class PLATFORM_EXPORT CompositorAnimationTimeline { | 20 class PLATFORM_EXPORT CompositorAnimationTimeline { |
21 WTF_MAKE_NONCOPYABLE(CompositorAnimationTimeline); | 21 WTF_MAKE_NONCOPYABLE(CompositorAnimationTimeline); |
22 | 22 |
23 public: | 23 public: |
(...skipping 10 matching lines...) Expand all Loading... |
34 | 34 |
35 private: | 35 private: |
36 CompositorAnimationTimeline(); | 36 CompositorAnimationTimeline(); |
37 | 37 |
38 scoped_refptr<cc::AnimationTimeline> m_animationTimeline; | 38 scoped_refptr<cc::AnimationTimeline> m_animationTimeline; |
39 }; | 39 }; |
40 | 40 |
41 } // namespace blink | 41 } // namespace blink |
42 | 42 |
43 #endif // CompositorAnimationTimeline_h | 43 #endif // CompositorAnimationTimeline_h |
OLD | NEW |