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

Side by Side Diff: webkit/compositor_bindings/web_transform_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
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_transform_animation_curve_impl.h" 5 #include "webkit/compositor_bindings/web_transform_animation_curve_impl.h"
6 6
7 #include "cc/keyframed_animation_curve.h" 7 #include "cc/animation/keyframed_animation_curve.h"
8 #include "cc/timing_function.h" 8 #include "cc/timing_function.h"
9 #include "cc/transform_operations.h" 9 #include "cc/transform_operations.h"
10 #include "webkit/compositor_bindings/web_animation_curve_common.h" 10 #include "webkit/compositor_bindings/web_animation_curve_common.h"
11 #include "webkit/compositor_bindings/web_transform_operations_impl.h" 11 #include "webkit/compositor_bindings/web_transform_operations_impl.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 14
15 WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl() 15 WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl()
16 : curve_(cc::KeyframedTransformAnimationCurve::Create()) {} 16 : curve_(cc::KeyframedTransformAnimationCurve::Create()) {}
17 17
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 cc::CubicBezierTimingFunction::create(x1, y1, x2, y2) 49 cc::CubicBezierTimingFunction::create(x1, y1, x2, y2)
50 .PassAs<cc::TimingFunction>())); 50 .PassAs<cc::TimingFunction>()));
51 } 51 }
52 52
53 scoped_ptr<cc::AnimationCurve> 53 scoped_ptr<cc::AnimationCurve>
54 WebTransformAnimationCurveImpl::cloneToAnimationCurve() const { 54 WebTransformAnimationCurveImpl::cloneToAnimationCurve() const {
55 return curve_->Clone(); 55 return curve_->Clone();
56 } 56 }
57 57
58 } // namespace WebKit 58 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698