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" | |
6 | |
7 #include "web_float_animation_curve_impl.h" | 5 #include "web_float_animation_curve_impl.h" |
8 | 6 |
9 #include "cc/animation_curve.h" | 7 #include "cc/animation_curve.h" |
10 #include "cc/keyframed_animation_curve.h" | 8 #include "cc/keyframed_animation_curve.h" |
11 #include "cc/timing_function.h" | 9 #include "cc/timing_function.h" |
12 #include "web_animation_curve_common.h" | 10 #include "web_animation_curve_common.h" |
13 | 11 |
14 namespace WebKit { | 12 namespace WebKit { |
15 | 13 |
16 WebFloatAnimationCurve* WebFloatAnimationCurve::create() | 14 WebFloatAnimationCurve* WebFloatAnimationCurve::create() |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 { | 49 { |
52 return m_curve->getValue(time); | 50 return m_curve->getValue(time); |
53 } | 51 } |
54 | 52 |
55 scoped_ptr<cc::AnimationCurve> WebFloatAnimationCurveImpl::cloneToAnimationCurve
() const | 53 scoped_ptr<cc::AnimationCurve> WebFloatAnimationCurveImpl::cloneToAnimationCurve
() const |
56 { | 54 { |
57 return m_curve->clone(); | 55 return m_curve->clone(); |
58 } | 56 } |
59 | 57 |
60 } // namespace WebKit | 58 } // namespace WebKit |
OLD | NEW |