Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / WebCompositorAnimationCurve.h
blob50993b6a5a0dd192308347070661d649abbec416
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.
5 #ifndef WebCompositorAnimationCurve_h
6 #define WebCompositorAnimationCurve_h
8 namespace blink {
10 class WebCompositorAnimationCurve {
11 public:
12 virtual ~WebCompositorAnimationCurve() { }
14 enum TimingFunctionType {
15 TimingFunctionTypeEase,
16 TimingFunctionTypeEaseIn,
17 TimingFunctionTypeEaseOut,
18 TimingFunctionTypeEaseInOut,
19 TimingFunctionTypeLinear
22 enum AnimationCurveType {
23 AnimationCurveTypeFilter,
24 AnimationCurveTypeFloat,
25 AnimationCurveTypeScrollOffset,
26 AnimationCurveTypeTransform,
29 virtual AnimationCurveType type() const = 0;
32 } // namespace blink
34 #endif // WebCompositorAnimationCurve_h