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

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

Issue 11824010: Normalize includes in webkit/compositor_bindings to chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 "web_animation_impl.h" 5 #include "webkit/compositor_bindings/web_animation_impl.h"
6 6
7 #include "cc/animation.h" 7 #include "cc/animation.h"
8 #include "cc/animation_curve.h" 8 #include "cc/animation_curve.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h " 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h "
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h"
11 #include "web_animation_id_provider.h" 11 #include "webkit/compositor_bindings/web_animation_id_provider.h"
12 #include "web_float_animation_curve_impl.h" 12 #include "webkit/compositor_bindings/web_float_animation_curve_impl.h"
13 #include "web_transform_animation_curve_impl.h" 13 #include "webkit/compositor_bindings/web_transform_animation_curve_impl.h"
14 14
15 using cc::Animation; 15 using cc::Animation;
16 using webkit::WebAnimationIdProvider; 16 using webkit::WebAnimationIdProvider;
17 17
18 namespace WebKit { 18 namespace WebKit {
19 19
20 WebAnimationImpl::WebAnimationImpl(const WebAnimationCurve& webCurve, TargetProp erty targetProperty, int animationId, int groupId) 20 WebAnimationImpl::WebAnimationImpl(const WebAnimationCurve& webCurve, TargetProp erty targetProperty, int animationId, int groupId)
21 { 21 {
22 if (!animationId) 22 if (!animationId)
23 animationId = WebAnimationIdProvider::NextAnimationId(); 23 animationId = WebAnimationIdProvider::NextAnimationId();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 scoped_ptr<cc::Animation> WebAnimationImpl::cloneToAnimation() 98 scoped_ptr<cc::Animation> WebAnimationImpl::cloneToAnimation()
99 { 99 {
100 scoped_ptr<cc::Animation> toReturn(m_animation->clone(cc::Animation::NonCont rollingInstance)); 100 scoped_ptr<cc::Animation> toReturn(m_animation->clone(cc::Animation::NonCont rollingInstance));
101 toReturn->setNeedsSynchronizedStartTime(true); 101 toReturn->setNeedsSynchronizedStartTime(true);
102 return toReturn.Pass(); 102 return toReturn.Pass();
103 } 103 }
104 104
105 } // namespace WebKit 105 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_animation_curve_common.cc ('k') | webkit/compositor_bindings/web_animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698