OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 "webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_
impl.h" | 5 #include "webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_
impl.h" |
6 | 6 |
7 #if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED | 7 #if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED |
8 | 8 |
9 #include "cc/animation/scroll_offset_animation_curve.h" | 9 #include "cc/animation/scroll_offset_animation_curve.h" |
10 #include "cc/animation/timing_function.h" | 10 #include "cc/animation/timing_function.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 scoped_ptr<cc::AnimationCurve> | 45 scoped_ptr<cc::AnimationCurve> |
46 WebScrollOffsetAnimationCurveImpl::CloneToAnimationCurve() const { | 46 WebScrollOffsetAnimationCurveImpl::CloneToAnimationCurve() const { |
47 return curve_->Clone(); | 47 return curve_->Clone(); |
48 } | 48 } |
49 | 49 |
50 } // namespace webkit | 50 } // namespace webkit |
51 | 51 |
52 #endif // WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED | 52 #endif // WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED |
OLD | NEW |