OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebCompositorAnimationCurve_h | |
6 #define WebCompositorAnimationCurve_h | |
7 | |
8 #include "WebCommon.h" | |
9 | |
10 #define WebCompositorAnimationCurve WebCompositorAnimationCurve | |
Ian Vollick
2014/07/24 13:23:34
Ditto.
samli
2014/07/25 01:34:32
Done.
| |
11 #define WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED 1 | |
12 | |
13 namespace blink { | |
14 | |
15 class WebCompositorAnimationCurve { | |
16 public: | |
17 virtual ~WebCompositorAnimationCurve() { } | |
18 | |
19 enum TimingFunctionType { | |
20 TimingFunctionTypeEase, | |
21 TimingFunctionTypeEaseIn, | |
22 TimingFunctionTypeEaseOut, | |
23 TimingFunctionTypeEaseInOut, | |
24 TimingFunctionTypeLinear | |
25 }; | |
26 | |
27 enum AnimationCurveType { | |
28 AnimationCurveTypeFilter, | |
29 AnimationCurveTypeFloat, | |
30 AnimationCurveTypeScrollOffset, | |
31 AnimationCurveTypeTransform, | |
32 }; | |
33 | |
34 virtual AnimationCurveType type() const = 0; | |
35 }; | |
36 | |
37 } // namespace blink | |
38 | |
39 #endif // WebCompositorAnimationCurve_h | |
OLD | NEW |