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

Side by Side Diff: cc/test/animation_test_common.h

Issue 1131593007: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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/layer_animation_controller.h" 10 #include "cc/animation/layer_animation_controller.h"
11 #include "cc/animation/layer_animation_value_observer.h" 11 #include "cc/animation/layer_animation_value_observer.h"
12 #include "cc/animation/layer_animation_value_provider.h" 12 #include "cc/animation/layer_animation_value_provider.h"
13 #include "cc/output/filter_operations.h" 13 #include "cc/output/filter_operations.h"
14 #include "cc/test/geometry_test_utils.h" 14 #include "cc/test/geometry_test_utils.h"
15 15
16 namespace cc { 16 namespace cc {
17 class AnimationPlayer;
17 class LayerImpl; 18 class LayerImpl;
18 class Layer; 19 class Layer;
19 } 20 }
20 21
21 namespace cc { 22 namespace cc {
22 23
23 class FakeFloatAnimationCurve : public FloatAnimationCurve { 24 class FakeFloatAnimationCurve : public FloatAnimationCurve {
24 public: 25 public:
25 FakeFloatAnimationCurve(); 26 FakeFloatAnimationCurve();
26 explicit FakeFloatAnimationCurve(double duration); 27 explicit FakeFloatAnimationCurve(double duration);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 int AddAnimatedFilterToLayer(Layer* layer, 171 int AddAnimatedFilterToLayer(Layer* layer,
171 double duration, 172 double duration,
172 float start_brightness, 173 float start_brightness,
173 float end_brightness); 174 float end_brightness);
174 175
175 int AddAnimatedFilterToLayer(LayerImpl* layer, 176 int AddAnimatedFilterToLayer(LayerImpl* layer,
176 double duration, 177 double duration,
177 float start_brightness, 178 float start_brightness,
178 float end_brightness); 179 float end_brightness);
179 180
181 int AddAnimatedTransformToPlayer(AnimationPlayer* player,
182 double duration,
183 int delta_x,
184 int delta_y);
185
186 int AddOpacityTransitionToPlayer(AnimationPlayer* player,
187 double duration,
188 float start_opacity,
189 float end_opacity,
190 bool use_timing_function);
191
192 int AddAnimatedFilterToPlayer(AnimationPlayer* player,
193 double duration,
194 float start_brightness,
195 float end_brightness);
196
180 } // namespace cc 197 } // namespace cc
181 198
182 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_ 199 #endif // CC_TEST_ANIMATION_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698