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

Side by Side Diff: webkit/renderer/compositor_bindings/web_animation_impl.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/renderer/compositor_bindings/web_animation_impl.h" 5 #include "webkit/renderer/compositor_bindings/web_animation_impl.h"
6 6
7 #include "cc/animation/animation.h" 7 #include "cc/animation/animation.h"
8 #include "cc/animation/animation_curve.h" 8 #include "cc/animation/animation_curve.h"
9 #include "cc/animation/animation_id_provider.h" 9 #include "cc/animation/animation_id_provider.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h" 10 #include "third_party/WebKit/public/platform/WebAnimation.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h " 11 #include "third_party/WebKit/public/platform/WebAnimationCurve.h"
12 #include "webkit/renderer/compositor_bindings/web_float_animation_curve_impl.h" 12 #include "webkit/renderer/compositor_bindings/web_float_animation_curve_impl.h"
13 #include "webkit/renderer/compositor_bindings/web_transform_animation_curve_impl .h" 13 #include "webkit/renderer/compositor_bindings/web_transform_animation_curve_impl .h"
14 14
15 using cc::Animation; 15 using cc::Animation;
16 using cc::AnimationIdProvider; 16 using cc::AnimationIdProvider;
17 17
18 using WebKit::WebAnimationCurve; 18 using WebKit::WebAnimationCurve;
19 19
20 namespace webkit { 20 namespace webkit {
21 21
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 88
89 scoped_ptr<cc::Animation> WebAnimationImpl::CloneToAnimation() { 89 scoped_ptr<cc::Animation> WebAnimationImpl::CloneToAnimation() {
90 scoped_ptr<cc::Animation> to_return( 90 scoped_ptr<cc::Animation> to_return(
91 animation_->Clone(cc::Animation::NonControllingInstance)); 91 animation_->Clone(cc::Animation::NonControllingInstance));
92 to_return->set_needs_synchronized_start_time(true); 92 to_return->set_needs_synchronized_start_time(true);
93 return to_return.Pass(); 93 return to_return.Pass();
94 } 94 }
95 95
96 } // namespace webkit 96 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698