Index: ui/gfx/compositor/layer_animation_sequence.h |
diff --git a/ui/gfx/compositor/layer_animation_sequence.h b/ui/gfx/compositor/layer_animation_sequence.h |
index 87673d7676608deec1b574ca9bd6109967350803..9531765f81f4cb51dadf9414d898c0ae8a902027 100644 |
--- a/ui/gfx/compositor/layer_animation_sequence.h |
+++ b/ui/gfx/compositor/layer_animation_sequence.h |
@@ -37,6 +37,10 @@ class COMPOSITOR_EXPORT LayerAnimationSequence { |
// guaranteed that Animate will be called with elapsed = Duration(). |
void Progress(base::TimeDelta elapsed, LayerAnimationDelegate* delegate); |
+ // Sets the delegate's properties to the values that would have been set had |
+ // the sequence completed. Does nothing if the sequence is cyclic. |
+ void SetTarget(LayerAnimationDelegate* delegate) const; |
+ |
// Aborts the given animation. |
void Abort(); |