OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "WebFloatAnimationCurveImpl.h" | 7 #include "WebFloatAnimationCurveImpl.h" |
8 | 8 |
9 #include "CCAnimationCurve.h" | |
10 #include "CCKeyframedAnimationCurve.h" | 9 #include "CCKeyframedAnimationCurve.h" |
11 #include "CCTimingFunction.h" | 10 #include "cc/animation_curve.h" |
| 11 #include "cc/timing_function.h" |
12 #include "WebAnimationCurveCommon.h" | 12 #include "WebAnimationCurveCommon.h" |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 | 15 |
16 WebFloatAnimationCurve* WebFloatAnimationCurve::create() | 16 WebFloatAnimationCurve* WebFloatAnimationCurve::create() |
17 { | 17 { |
18 return new WebFloatAnimationCurveImpl(); | 18 return new WebFloatAnimationCurveImpl(); |
19 } | 19 } |
20 | 20 |
21 WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl() | 21 WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl() |
(...skipping 29 matching lines...) Expand all Loading... |
51 { | 51 { |
52 return m_curve->getValue(time); | 52 return m_curve->getValue(time); |
53 } | 53 } |
54 | 54 |
55 scoped_ptr<cc::CCAnimationCurve> WebFloatAnimationCurveImpl::cloneToCCAnimationC
urve() const | 55 scoped_ptr<cc::CCAnimationCurve> WebFloatAnimationCurveImpl::cloneToCCAnimationC
urve() const |
56 { | 56 { |
57 return m_curve->clone(); | 57 return m_curve->clone(); |
58 } | 58 } |
59 | 59 |
60 } // namespace WebKit | 60 } // namespace WebKit |
OLD | NEW |