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
10 class WebCompositorAnimationCurve
{
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;
34 #endif // WebCompositorAnimationCurve_h