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" |
11 #include "cc/animation/transform_operations.h" | 11 #include "cc/animation/transform_operations.h" |
12 #include "cc/output/filter_operations.h" | 12 #include "cc/output/filter_operations.h" |
13 #include "cc/test/geometry_test_utils.h" | 13 #include "cc/test/geometry_test_utils.h" |
14 #include "cc/trees/element_id.h" | 14 #include "cc/trees/element_id.h" |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 class AnimationPlayer; | 17 class AnimationPlayer; |
18 class LayerImpl; | |
19 class Layer; | |
20 } | 18 } |
21 | 19 |
22 namespace gfx { | 20 namespace gfx { |
23 class ScrollOffset; | 21 class ScrollOffset; |
24 } | 22 } |
25 | 23 |
26 namespace cc { | 24 namespace cc { |
27 | 25 |
28 class FakeFloatAnimationCurve : public FloatAnimationCurve { | 26 class FakeFloatAnimationCurve : public FloatAnimationCurve { |
29 public: | 27 public: |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 ElementId element_id, | 150 ElementId element_id, |
153 scoped_refptr<AnimationTimeline> timeline, | 151 scoped_refptr<AnimationTimeline> timeline, |
154 double duration, | 152 double duration, |
155 float start_opacity, | 153 float start_opacity, |
156 float end_opacity, | 154 float end_opacity, |
157 bool use_timing_function); | 155 bool use_timing_function); |
158 | 156 |
159 } // namespace cc | 157 } // namespace cc |
160 | 158 |
161 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ | 159 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ |
OLD | NEW |