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