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

Unified Diff: cc/animation/animation_player.cc

Issue 2189813002: ElementAnimations should hold an ObservableList of AnimationPlayers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + fix blink_platform_unittests compile error Created 4 years, 4 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
Index: cc/animation/animation_player.cc
diff --git a/cc/animation/animation_player.cc b/cc/animation/animation_player.cc
index 4cbd2a027aa23f0c8d1af605ef48d56d72a963d7..66d9b3ce73bc9a29a020ecdf21d23ec95855dda3 100644
--- a/cc/animation/animation_player.cc
+++ b/cc/animation/animation_player.cc
@@ -180,34 +180,31 @@ void AnimationPlayer::PushPropertiesTo(AnimationPlayer* player_impl) {
}
}
-void AnimationPlayer::NotifyAnimationStarted(
- base::TimeTicks monotonic_time,
- TargetProperty::Type target_property,
- int group) {
+void AnimationPlayer::OnAnimationStarted(base::TimeTicks monotonic_time,
+ TargetProperty::Type target_property,
+ int group) {
if (animation_delegate_)
animation_delegate_->NotifyAnimationStarted(monotonic_time, target_property,
group);
}
-void AnimationPlayer::NotifyAnimationFinished(
- base::TimeTicks monotonic_time,
- TargetProperty::Type target_property,
- int group) {
+void AnimationPlayer::OnAnimationFinished(base::TimeTicks monotonic_time,
+ TargetProperty::Type target_property,
+ int group) {
if (animation_delegate_)
animation_delegate_->NotifyAnimationFinished(monotonic_time,
target_property, group);
}
-void AnimationPlayer::NotifyAnimationAborted(
- base::TimeTicks monotonic_time,
- TargetProperty::Type target_property,
- int group) {
+void AnimationPlayer::OnAnimationAborted(base::TimeTicks monotonic_time,
+ TargetProperty::Type target_property,
+ int group) {
if (animation_delegate_)
animation_delegate_->NotifyAnimationAborted(monotonic_time, target_property,
group);
}
-void AnimationPlayer::NotifyAnimationTakeover(
+void AnimationPlayer::OnAnimationTakeover(
base::TimeTicks monotonic_time,
TargetProperty::Type target_property,
double animation_start_time,

Powered by Google App Engine
This is Rietveld 408576698