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

Side by Side Diff: webkit/compositor_bindings/WebAnimationImpl.cpp

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 "config.h" 5 #include "config.h"
6 6
7 #include "WebAnimationImpl.h" 7 #include "WebAnimationImpl.h"
8 8
9 #include "CCActiveAnimation.h"
10 #include "CCAnimationCurve.h"
11 #include "WebFloatAnimationCurveImpl.h" 9 #include "WebFloatAnimationCurveImpl.h"
12 #include "WebTransformAnimationCurveImpl.h" 10 #include "WebTransformAnimationCurveImpl.h"
13 #include <public/WebAnimation.h> 11 #include "cc/active_animation.h"
14 #include <public/WebAnimationCurve.h> 12 #include "cc/animation_curve.h"
15 #include <wtf/OwnPtr.h> 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h "
16 15
17 using cc::CCActiveAnimation; 16 using cc::CCActiveAnimation;
18 17
19 namespace WebKit { 18 namespace WebKit {
20 19
21 WebAnimation* WebAnimation::create(const WebAnimationCurve& curve, TargetPropert y targetProperty, int animationId) 20 WebAnimation* WebAnimation::create(const WebAnimationCurve& curve, TargetPropert y targetProperty, int animationId)
22 { 21 {
23 return new WebAnimationImpl(curve, targetProperty, animationId, 0); 22 return new WebAnimationImpl(curve, targetProperty, animationId, 0);
24 } 23 }
25 24
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 103 }
105 104
106 scoped_ptr<cc::CCActiveAnimation> WebAnimationImpl::cloneToCCAnimation() 105 scoped_ptr<cc::CCActiveAnimation> WebAnimationImpl::cloneToCCAnimation()
107 { 106 {
108 scoped_ptr<cc::CCActiveAnimation> toReturn(m_animation->clone(cc::CCActiveAn imation::NonControllingInstance)); 107 scoped_ptr<cc::CCActiveAnimation> toReturn(m_animation->clone(cc::CCActiveAn imation::NonControllingInstance));
109 toReturn->setNeedsSynchronizedStartTime(true); 108 toReturn->setNeedsSynchronizedStartTime(true);
110 return toReturn.Pass(); 109 return toReturn.Pass();
111 } 110 }
112 111
113 } // namespace WebKit 112 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698