| 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 CompositorScrollOffsetAnimationCurve_h | 5 #ifndef CompositorScrollOffsetAnimationCurve_h |
| 6 #define CompositorScrollOffsetAnimationCurve_h | 6 #define CompositorScrollOffsetAnimationCurve_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/geometry/FloatPoint.h" | 11 #include "platform/geometry/FloatPoint.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 cc { | 15 namespace cc { |
| 16 class ScrollOffsetAnimationCurve; | 16 class ScrollOffsetAnimationCurve; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 class PLATFORM_EXPORT CompositorScrollOffsetAnimationCurve | 21 class PLATFORM_EXPORT CompositorScrollOffsetAnimationCurve |
| 22 : public CompositorAnimationCurve { | 22 : public CompositorAnimationCurve { |
| 23 WTF_MAKE_NONCOPYABLE(CompositorScrollOffsetAnimationCurve); | 23 WTF_MAKE_NONCOPYABLE(CompositorScrollOffsetAnimationCurve); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 private: | 56 private: |
| 57 CompositorScrollOffsetAnimationCurve(FloatPoint, ScrollDurationBehavior); | 57 CompositorScrollOffsetAnimationCurve(FloatPoint, ScrollDurationBehavior); |
| 58 CompositorScrollOffsetAnimationCurve(cc::ScrollOffsetAnimationCurve*); | 58 CompositorScrollOffsetAnimationCurve(cc::ScrollOffsetAnimationCurve*); |
| 59 | 59 |
| 60 std::unique_ptr<cc::ScrollOffsetAnimationCurve> m_curve; | 60 std::unique_ptr<cc::ScrollOffsetAnimationCurve> m_curve; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // CompositorScrollOffsetAnimationCurve_h | 65 #endif // CompositorScrollOffsetAnimationCurve_h |
| OLD | NEW |