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 CompositorTransformAnimationCurve_h | 5 #ifndef CompositorTransformAnimationCurve_h |
6 #define CompositorTransformAnimationCurve_h | 6 #define CompositorTransformAnimationCurve_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/CompositorTransformKeyframe.h" | 11 #include "platform/animation/CompositorTransformKeyframe.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/PtrUtil.h" | 14 #include "wtf/PtrUtil.h" |
14 #include <memory> | |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 class KeyframedTransformAnimationCurve; | 17 class KeyframedTransformAnimationCurve; |
18 } | 18 } |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 class CompositorTransformKeyframe; | 21 class CompositorTransformKeyframe; |
22 } | 22 } |
23 | 23 |
24 namespace blink { | 24 namespace blink { |
(...skipping 19 matching lines...) Expand all Loading... |
44 | 44 |
45 private: | 45 private: |
46 CompositorTransformAnimationCurve(); | 46 CompositorTransformAnimationCurve(); |
47 | 47 |
48 std::unique_ptr<cc::KeyframedTransformAnimationCurve> m_curve; | 48 std::unique_ptr<cc::KeyframedTransformAnimationCurve> m_curve; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace blink | 51 } // namespace blink |
52 | 52 |
53 #endif // CompositorTransformAnimationCurve_h | 53 #endif // CompositorTransformAnimationCurve_h |
OLD | NEW |