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 CompositorAnimation_h | 5 #ifndef CompositorAnimation_h |
6 #define CompositorAnimation_h | 6 #define CompositorAnimation_h |
7 | 7 |
8 #include "cc/animation/animation.h" | 8 #include "cc/animation/animation.h" |
9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
10 #include "platform/animation/CompositorTargetProperty.h" | 10 #include "platform/animation/CompositorTargetProperty.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 double playbackRate() const; | 59 double playbackRate() const; |
60 void setPlaybackRate(double); | 60 void setPlaybackRate(double); |
61 | 61 |
62 FillMode getFillMode() const; | 62 FillMode getFillMode() const; |
63 void setFillMode(FillMode); | 63 void setFillMode(FillMode); |
64 | 64 |
65 double iterationStart() const; | 65 double iterationStart() const; |
66 void setIterationStart(double); | 66 void setIterationStart(double); |
67 | 67 |
68 std::unique_ptr<cc::Animation> passAnimation(); | 68 std::unique_ptr<cc::Animation> releaseCcAnimation(); |
69 | 69 |
70 std::unique_ptr<CompositorFloatAnimationCurve> floatCurveForTesting() const; | 70 std::unique_ptr<CompositorFloatAnimationCurve> floatCurveForTesting() const; |
71 | 71 |
72 private: | 72 private: |
73 CompositorAnimation(const CompositorAnimationCurve&, CompositorTargetPropert
y::Type, int animationId, int groupId); | 73 CompositorAnimation(const CompositorAnimationCurve&, CompositorTargetPropert
y::Type, int animationId, int groupId); |
74 | 74 |
75 std::unique_ptr<cc::Animation> m_animation; | 75 std::unique_ptr<cc::Animation> m_animation; |
76 }; | 76 }; |
77 | 77 |
78 } // namespace blink | 78 } // namespace blink |
79 | 79 |
80 #endif // CompositorAnimation_h | 80 #endif // CompositorAnimation_h |
OLD | NEW |