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

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

Issue 412123002: Rename WebAnimation to WebCompositorAnimation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698