Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: webkit/compositor_bindings/web_float_animation_curve_impl.cc

Issue 12822004: Part 3 of cc/ directory shuffles: animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "webkit/compositor_bindings/web_float_animation_curve_impl.h" 5 #include "webkit/compositor_bindings/web_float_animation_curve_impl.h"
6 6
7 #include "cc/animation_curve.h" 7 #include "cc/animation/animation_curve.h"
8 #include "cc/keyframed_animation_curve.h" 8 #include "cc/animation/keyframed_animation_curve.h"
9 #include "cc/timing_function.h" 9 #include "cc/timing_function.h"
10 #include "webkit/compositor_bindings/web_animation_curve_common.h" 10 #include "webkit/compositor_bindings/web_animation_curve_common.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13 13
14 WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl() 14 WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl()
15 : curve_(cc::KeyframedFloatAnimationCurve::Create()) {} 15 : curve_(cc::KeyframedFloatAnimationCurve::Create()) {}
16 16
17 WebFloatAnimationCurveImpl::~WebFloatAnimationCurveImpl() {} 17 WebFloatAnimationCurveImpl::~WebFloatAnimationCurveImpl() {}
18 18
(...skipping 26 matching lines...) Expand all
45 float WebFloatAnimationCurveImpl::getValue(double time) const { 45 float WebFloatAnimationCurveImpl::getValue(double time) const {
46 return curve_->GetValue(time); 46 return curve_->GetValue(time);
47 } 47 }
48 48
49 scoped_ptr<cc::AnimationCurve> 49 scoped_ptr<cc::AnimationCurve>
50 WebFloatAnimationCurveImpl::cloneToAnimationCurve() const { 50 WebFloatAnimationCurveImpl::cloneToAnimationCurve() const {
51 return curve_->Clone(); 51 return curve_->Clone();
52 } 52 }
53 53
54 } // namespace WebKit 54 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_animation_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698