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 #ifndef CC_TEST_ANIMATION_TEST_COMMON_H_ | 5 #ifndef CC_TEST_ANIMATION_TEST_COMMON_H_ |
6 #define CC_TEST_ANIMATION_TEST_COMMON_H_ | 6 #define CC_TEST_ANIMATION_TEST_COMMON_H_ |
7 | 7 |
8 #include "cc/animation/animation.h" | 8 #include "cc/animation/animation.h" |
9 #include "cc/animation/animation_curve.h" | 9 #include "cc/animation/animation_curve.h" |
10 #include "cc/animation/animation_timeline.h" | 10 #include "cc/animation/animation_timeline.h" |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 TransformOperations operations); | 253 TransformOperations operations); |
254 | 254 |
255 int AddOpacityTransitionToLayerWithPlayer( | 255 int AddOpacityTransitionToLayerWithPlayer( |
256 int layer_id, | 256 int layer_id, |
257 scoped_refptr<AnimationTimeline> timeline, | 257 scoped_refptr<AnimationTimeline> timeline, |
258 double duration, | 258 double duration, |
259 float start_opacity, | 259 float start_opacity, |
260 float end_opacity, | 260 float end_opacity, |
261 bool use_timing_function); | 261 bool use_timing_function); |
262 | 262 |
263 void AbortAnimationsOnLayerWithPlayer( | 263 void AbortAnimationsOnLayerWithPlayer(int layer_id, |
264 int layer_id, | 264 scoped_refptr<AnimationTimeline> timeline, |
265 scoped_refptr<AnimationTimeline> timeline, | 265 TargetProperty::Type target_property); |
266 Animation::TargetProperty target_property); | |
267 | 266 |
268 } // namespace cc | 267 } // namespace cc |
269 | 268 |
270 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ | 269 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ |
OLD | NEW |