Index: ui/compositor/layer_animator.h |
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h |
index 6c24008cb0d7698e1cb2ecca9d43bd3de14a8244..a9527341f0ea4b1b26667e5efdf7454cec116e2a 100644 |
--- a/ui/compositor/layer_animator.h |
+++ b/ui/compositor/layer_animator.h |
@@ -130,6 +130,14 @@ class COMPOSITOR_EXPORT LayerAnimator |
LayerAnimationElement::AnimatableProperty property, |
...); |
+ // Schedules a pause with zero length of all the specified properties. |
+ // End the list with -1. If animation is not cancelled, |callback| will be |
+ // called. |
+ void ScheduleSuccessCallbackForProperties( |
Daniel Erat
2012/11/27 18:32:11
nit: "Schedule" doesn't make sense to me here, and
Denis Kuznetsov (DE-MUC)
2012/11/27 18:46:59
Done.
|
+ base::Closure& callback, |
+ LayerAnimationElement::AnimatableProperty property, |
+ ...); |
Daniel Erat
2012/11/27 18:32:11
nit: fix indenting
Denis Kuznetsov (DE-MUC)
2012/11/27 18:46:59
Done.
|
+ |
// Returns true if there is an animation in the queue (animations remain in |
// the queue until they complete, so this includes running animations). |
bool is_animating() const { return !animation_queue_.empty(); } |