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 "cc/test/animation_test_common.h" | 5 #include "cc/test/animation_test_common.h" |
8 | 6 |
9 #include "cc/keyframed_animation_curve.h" | 7 #include "cc/keyframed_animation_curve.h" |
10 #include "cc/layer.h" | 8 #include "cc/layer.h" |
11 #include "cc/layer_animation_controller.h" | 9 #include "cc/layer_animation_controller.h" |
12 #include "cc/layer_impl.h" | 10 #include "cc/layer_impl.h" |
13 #include <public/WebTransformOperations.h> | 11 #include <public/WebTransformOperations.h> |
14 | 12 |
15 using namespace cc; | 13 using namespace cc; |
16 | 14 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 { | 206 { |
209 return addAnimatedTransform(layer, duration, deltaX, deltaY); | 207 return addAnimatedTransform(layer, duration, deltaX, deltaY); |
210 } | 208 } |
211 | 209 |
212 int addAnimatedTransformToLayer(cc::LayerImpl& layer, double duration, int delta
X, int deltaY) | 210 int addAnimatedTransformToLayer(cc::LayerImpl& layer, double duration, int delta
X, int deltaY) |
213 { | 211 { |
214 return addAnimatedTransform(*layer.layerAnimationController(), duration, del
taX, deltaY); | 212 return addAnimatedTransform(*layer.layerAnimationController(), duration, del
taX, deltaY); |
215 } | 213 } |
216 | 214 |
217 } // namespace WebKitTests | 215 } // namespace WebKitTests |
OLD | NEW |