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 CompositorFloatAnimationCurve_h | 5 #ifndef CompositorFloatAnimationCurve_h |
6 #define CompositorFloatAnimationCurve_h | 6 #define CompositorFloatAnimationCurve_h |
7 | 7 |
| 8 #include <memory> |
8 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
9 #include "platform/animation/CompositorAnimationCurve.h" | 10 #include "platform/animation/CompositorAnimationCurve.h" |
10 #include "platform/animation/CompositorFloatKeyframe.h" | 11 #include "platform/animation/CompositorFloatKeyframe.h" |
11 #include "platform/animation/TimingFunction.h" | 12 #include "platform/animation/TimingFunction.h" |
12 #include "wtf/Noncopyable.h" | 13 #include "wtf/Noncopyable.h" |
13 #include "wtf/PassRefPtr.h" | 14 #include "wtf/PassRefPtr.h" |
14 #include "wtf/PtrUtil.h" | 15 #include "wtf/PtrUtil.h" |
15 #include "wtf/Vector.h" | 16 #include "wtf/Vector.h" |
16 #include <memory> | |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 class KeyframedFloatAnimationCurve; | 19 class KeyframedFloatAnimationCurve; |
20 } | 20 } |
21 | 21 |
22 namespace blink { | 22 namespace blink { |
23 class CompositorFloatKeyframe; | 23 class CompositorFloatKeyframe; |
24 } | 24 } |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
(...skipping 30 matching lines...) Expand all Loading... |
57 CompositorFloatAnimationCurve(); | 57 CompositorFloatAnimationCurve(); |
58 CompositorFloatAnimationCurve( | 58 CompositorFloatAnimationCurve( |
59 std::unique_ptr<cc::KeyframedFloatAnimationCurve>); | 59 std::unique_ptr<cc::KeyframedFloatAnimationCurve>); |
60 | 60 |
61 std::unique_ptr<cc::KeyframedFloatAnimationCurve> m_curve; | 61 std::unique_ptr<cc::KeyframedFloatAnimationCurve> m_curve; |
62 }; | 62 }; |
63 | 63 |
64 } // namespace blink | 64 } // namespace blink |
65 | 65 |
66 #endif // CompositorFloatAnimationCurve_h | 66 #endif // CompositorFloatAnimationCurve_h |
OLD | NEW |