Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: sky/engine/public/platform/WebCompositorAnimationCurve.h

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 WebCompositorAnimationCurve_h 5 #ifndef WebCompositorAnimationCurve_h
6 #define WebCompositorAnimationCurve_h 6 #define WebCompositorAnimationCurve_h
7 7
8 #define WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED 1 8 #define WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED 1
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WebCompositorAnimationCurve { 12 class WebCompositorAnimationCurve {
13 public: 13 public:
14 virtual ~WebCompositorAnimationCurve() { } 14 virtual ~WebCompositorAnimationCurve() { }
15 15
16 enum TimingFunctionType { 16 enum TimingFunctionType {
17 TimingFunctionTypeEase, 17 TimingFunctionTypeEase,
18 TimingFunctionTypeEaseIn, 18 TimingFunctionTypeEaseIn,
19 TimingFunctionTypeEaseOut, 19 TimingFunctionTypeEaseOut,
20 TimingFunctionTypeEaseInOut, 20 TimingFunctionTypeEaseInOut,
21 TimingFunctionTypeLinear 21 TimingFunctionTypeLinear
22 }; 22 };
23 23
24 enum AnimationCurveType { 24 enum AnimationCurveType {
25 AnimationCurveTypeFilter, 25 AnimationCurveTypeFilter,
26 AnimationCurveTypeFloat, 26 AnimationCurveTypeFloat,
27 AnimationCurveTypeScrollOffset,
28 AnimationCurveTypeTransform, 27 AnimationCurveTypeTransform,
29 }; 28 };
30 29
31 virtual AnimationCurveType type() const = 0; 30 virtual AnimationCurveType type() const = 0;
32 }; 31 };
33 32
34 } // namespace blink 33 } // namespace blink
35 34
36 #endif // WebCompositorAnimationCurve_h 35 #endif // WebCompositorAnimationCurve_h
OLDNEW
« no previous file with comments | « sky/engine/public/platform/Platform.h ('k') | sky/engine/public/platform/WebCompositorSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698