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

Unified Diff: cc/animation/animation_host.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_events.cc ('k') | cc/animation/animation_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index ad5117cafb19d151121bf52beb08ed9848730348..b52d93e116256266d92b9124d9d9508204113350 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -12,9 +12,11 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
-#include "cc/animation/animation_events.h"
+#include "cc/animation/animation.h"
#include "cc/base/cc_export.h"
#include "cc/trees/mutator_host_client.h"
+#include "ui/gfx/geometry/box_f.h"
+#include "ui/gfx/geometry/vector2d_f.h"
namespace gfx {
class ScrollOffset;
@@ -22,6 +24,7 @@ class ScrollOffset;
namespace cc {
+class AnimationEvents;
class AnimationPlayer;
class AnimationRegistrar;
class AnimationTimeline;
@@ -88,10 +91,10 @@ class CC_EXPORT AnimationHost {
bool ActivateAnimations();
bool AnimateLayers(base::TimeTicks monotonic_time);
bool UpdateAnimationState(bool start_ready_animations,
- AnimationEventsVector* events);
+ AnimationEvents* events);
- scoped_ptr<AnimationEventsVector> CreateEvents();
- void SetAnimationEvents(scoped_ptr<AnimationEventsVector> events);
+ scoped_ptr<AnimationEvents> CreateEvents();
+ void SetAnimationEvents(scoped_ptr<AnimationEvents> events);
bool ScrollOffsetAnimationWasInterrupted(int layer_id) const;
« no previous file with comments | « cc/animation/animation_events.cc ('k') | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698