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

Unified Diff: cc/animation/animation_host.cc

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_host.h ('k') | cc/animation/animation_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.cc
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
index 882a335818f449ee0537c30c1f7529f1c491570d..aef97caafe0333d4eebf7cb88c1d50d493769532 100644
--- a/cc/animation/animation_host.cc
+++ b/cc/animation/animation_host.cc
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "cc/animation/animation_delegate.h"
+#include "cc/animation/animation_events.h"
#include "cc/animation/animation_id_provider.h"
#include "cc/animation/animation_player.h"
#include "cc/animation/animation_registrar.h"
@@ -352,17 +353,16 @@ bool AnimationHost::AnimateLayers(base::TimeTicks monotonic_time) {
}
bool AnimationHost::UpdateAnimationState(bool start_ready_animations,
- AnimationEventsVector* events) {
+ AnimationEvents* events) {
return animation_registrar_->UpdateAnimationState(start_ready_animations,
events);
}
-scoped_ptr<AnimationEventsVector> AnimationHost::CreateEvents() {
+scoped_ptr<AnimationEvents> AnimationHost::CreateEvents() {
return animation_registrar_->CreateEvents();
}
-void AnimationHost::SetAnimationEvents(
- scoped_ptr<AnimationEventsVector> events) {
+void AnimationHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) {
return animation_registrar_->SetAnimationEvents(std::move(events));
}
« no previous file with comments | « cc/animation/animation_host.h ('k') | cc/animation/animation_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698