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

Side by Side Diff: cc/blink/web_transform_animation_curve_impl.cc

Issue 470983004: Move blink<->cc bindings to cc/blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | « cc/blink/web_transform_animation_curve_impl.h ('k') | cc/blink/web_transform_operations_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/renderer/compositor_bindings/web_transform_animation_curve_imp l.h" 5 #include "cc/blink/web_transform_animation_curve_impl.h"
6 6
7 #include "cc/animation/keyframed_animation_curve.h" 7 #include "cc/animation/keyframed_animation_curve.h"
8 #include "cc/animation/timing_function.h" 8 #include "cc/animation/timing_function.h"
9 #include "cc/animation/transform_operations.h" 9 #include "cc/animation/transform_operations.h"
10 #include "content/renderer/compositor_bindings/web_animation_curve_common.h" 10 #include "cc/blink/web_animation_curve_common.h"
11 #include "content/renderer/compositor_bindings/web_transform_operations_impl.h" 11 #include "cc/blink/web_transform_operations_impl.h"
12 12
13 using blink::WebTransformKeyframe; 13 using blink::WebTransformKeyframe;
14 14
15 namespace content { 15 namespace cc_blink {
16 16
17 WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl() 17 WebTransformAnimationCurveImpl::WebTransformAnimationCurveImpl()
18 : curve_(cc::KeyframedTransformAnimationCurve::Create()) { 18 : curve_(cc::KeyframedTransformAnimationCurve::Create()) {
19 } 19 }
20 20
21 WebTransformAnimationCurveImpl::~WebTransformAnimationCurveImpl() { 21 WebTransformAnimationCurveImpl::~WebTransformAnimationCurveImpl() {
22 } 22 }
23 23
24 blink::WebCompositorAnimationCurve::AnimationCurveType 24 blink::WebCompositorAnimationCurve::AnimationCurveType
25 WebTransformAnimationCurveImpl::type() const { 25 WebTransformAnimationCurveImpl::type() const {
(...skipping 26 matching lines...) Expand all
52 transform_operations, 52 transform_operations,
53 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2) 53 cc::CubicBezierTimingFunction::Create(x1, y1, x2, y2)
54 .PassAs<cc::TimingFunction>())); 54 .PassAs<cc::TimingFunction>()));
55 } 55 }
56 56
57 scoped_ptr<cc::AnimationCurve> 57 scoped_ptr<cc::AnimationCurve>
58 WebTransformAnimationCurveImpl::CloneToAnimationCurve() const { 58 WebTransformAnimationCurveImpl::CloneToAnimationCurve() const {
59 return curve_->Clone(); 59 return curve_->Clone();
60 } 60 }
61 61
62 } // namespace content 62 } // namespace cc_blink
63
OLDNEW
« no previous file with comments | « cc/blink/web_transform_animation_curve_impl.h ('k') | cc/blink/web_transform_operations_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698