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

Side by Side Diff: cc/animation/layer_animation_controller.h

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/animation/animation_unittest.cc ('k') | cc/animation/layer_animation_controller.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_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_ 5 #ifndef CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_
6 #define CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_ 6 #define CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void StartAnimations(base::TimeTicks monotonic_time); 172 void StartAnimations(base::TimeTicks monotonic_time);
173 void PromoteStartedAnimations(base::TimeTicks monotonic_time, 173 void PromoteStartedAnimations(base::TimeTicks monotonic_time,
174 AnimationEventsVector* events); 174 AnimationEventsVector* events);
175 void MarkFinishedAnimations(base::TimeTicks monotonic_time); 175 void MarkFinishedAnimations(base::TimeTicks monotonic_time);
176 void MarkAnimationsForDeletion(base::TimeTicks monotonic_time, 176 void MarkAnimationsForDeletion(base::TimeTicks monotonic_time,
177 AnimationEventsVector* events); 177 AnimationEventsVector* events);
178 void PurgeAnimationsMarkedForDeletion(); 178 void PurgeAnimationsMarkedForDeletion();
179 179
180 void TickAnimations(base::TimeTicks monotonic_time); 180 void TickAnimations(base::TimeTicks monotonic_time);
181 181
182 enum UpdateActivationType { NORMAL_ACTIVATION, FORCE_ACTIVATION }; 182 enum UpdateActivationType {
183 NormalActivation,
184 ForceActivation
185 };
183 void UpdateActivation(UpdateActivationType type); 186 void UpdateActivation(UpdateActivationType type);
184 187
185 void NotifyObserversOpacityAnimated(float opacity, 188 void NotifyObserversOpacityAnimated(float opacity,
186 bool notify_active_observers, 189 bool notify_active_observers,
187 bool notify_pending_observers); 190 bool notify_pending_observers);
188 void NotifyObserversTransformAnimated(const gfx::Transform& transform, 191 void NotifyObserversTransformAnimated(const gfx::Transform& transform,
189 bool notify_active_observers, 192 bool notify_active_observers,
190 bool notify_pending_observers); 193 bool notify_pending_observers);
191 void NotifyObserversFilterAnimated(const FilterOperations& filter, 194 void NotifyObserversFilterAnimated(const FilterOperations& filter,
192 bool notify_active_observers, 195 bool notify_active_observers,
(...skipping 29 matching lines...) Expand all
222 bool needs_to_start_animations_; 225 bool needs_to_start_animations_;
223 226
224 bool scroll_offset_animation_was_interrupted_; 227 bool scroll_offset_animation_was_interrupted_;
225 228
226 DISALLOW_COPY_AND_ASSIGN(LayerAnimationController); 229 DISALLOW_COPY_AND_ASSIGN(LayerAnimationController);
227 }; 230 };
228 231
229 } // namespace cc 232 } // namespace cc
230 233
231 #endif // CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_ 234 #endif // CC_ANIMATION_LAYER_ANIMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_unittest.cc ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698