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

Unified Diff: cc/animation/layer_animation_controller.h

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/animation/animation_registrar.cc ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index cbff7aa71103c34600ca90979a04008124ff1264..60655c571e45492364a02a53fc9df2f15832db4c 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -13,7 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
-#include "cc/animation/animation_events.h"
+#include "cc/animation/animation.h"
#include "cc/animation/layer_animation_event_observer.h"
#include "cc/base/cc_export.h"
#include "ui/gfx/geometry/scroll_offset.h"
@@ -26,8 +26,8 @@ class Transform;
namespace cc {
-class Animation;
class AnimationDelegate;
+class AnimationEvents;
class AnimationRegistrar;
class FilterOperations;
class KeyframeValueList;
@@ -59,10 +59,9 @@ class CC_EXPORT LayerAnimationController
void Animate(base::TimeTicks monotonic_time);
void AccumulatePropertyUpdates(base::TimeTicks monotonic_time,
- AnimationEventsVector* events);
+ AnimationEvents* events);
- void UpdateState(bool start_ready_animations,
- AnimationEventsVector* events);
+ void UpdateState(bool start_ready_animations, AnimationEvents* events);
// Make animations affect active observers if and only if they affect
// pending observers. Any animations that no longer affect any observers
@@ -190,10 +189,10 @@ class CC_EXPORT LayerAnimationController
void StartAnimations(base::TimeTicks monotonic_time);
void PromoteStartedAnimations(base::TimeTicks monotonic_time,
- AnimationEventsVector* events);
+ AnimationEvents* events);
void MarkFinishedAnimations(base::TimeTicks monotonic_time);
void MarkAnimationsForDeletion(base::TimeTicks monotonic_time,
- AnimationEventsVector* events);
+ AnimationEvents* events);
void PurgeAnimationsMarkedForDeletion();
void TickAnimations(base::TimeTicks monotonic_time);
« no previous file with comments | « cc/animation/animation_registrar.cc ('k') | cc/animation/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698