OLD | NEW |
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" | |
6 | |
7 #include "web_animation_impl.h" | 5 #include "web_animation_impl.h" |
8 | 6 |
9 #include "cc/active_animation.h" | 7 #include "cc/active_animation.h" |
10 #include "cc/animation_curve.h" | 8 #include "cc/animation_curve.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h
" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationCurve.h
" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h" |
13 #include "web_float_animation_curve_impl.h" | 11 #include "web_float_animation_curve_impl.h" |
14 #include "web_transform_animation_curve_impl.h" | 12 #include "web_transform_animation_curve_impl.h" |
15 | 13 |
16 using cc::ActiveAnimation; | 14 using cc::ActiveAnimation; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 } | 101 } |
104 | 102 |
105 scoped_ptr<cc::ActiveAnimation> WebAnimationImpl::cloneToAnimation() | 103 scoped_ptr<cc::ActiveAnimation> WebAnimationImpl::cloneToAnimation() |
106 { | 104 { |
107 scoped_ptr<cc::ActiveAnimation> toReturn(m_animation->clone(cc::ActiveAnimat
ion::NonControllingInstance)); | 105 scoped_ptr<cc::ActiveAnimation> toReturn(m_animation->clone(cc::ActiveAnimat
ion::NonControllingInstance)); |
108 toReturn->setNeedsSynchronizedStartTime(true); | 106 toReturn->setNeedsSynchronizedStartTime(true); |
109 return toReturn.Pass(); | 107 return toReturn.Pass(); |
110 } | 108 } |
111 | 109 |
112 } // namespace WebKit | 110 } // namespace WebKit |
OLD | NEW |