| Index: ui/gfx/compositor/layer_animator.h
|
| diff --git a/ui/gfx/compositor/layer_animator.h b/ui/gfx/compositor/layer_animator.h
|
| index a51079c46a8e205e73c5fa94eea84aa01c2fced0..1216a04246c0c6e12402557b7dbf8ae69faebed5 100644
|
| --- a/ui/gfx/compositor/layer_animator.h
|
| +++ b/ui/gfx/compositor/layer_animator.h
|
| @@ -50,12 +50,15 @@ class COMPOSITOR_EXPORT LayerAnimator : public AnimationContainerElement {
|
|
|
| // Sets the transform on the delegate. May cause an implicit animation.
|
| virtual void SetTransform(const Transform& transform);
|
| + Transform GetTargetTransform() const;
|
|
|
| // Sets the bounds on the delegate. May cause an implicit animation.
|
| virtual void SetBounds(const gfx::Rect& bounds);
|
| + gfx::Rect GetTargetBounds() const;
|
|
|
| // Sets the opacity on the delegate. May cause an implicit animation.
|
| virtual void SetOpacity(float opacity);
|
| + float GetTargetOpacity() const;
|
|
|
| // Sets the layer animation delegate the animator is associated with. The
|
| // animator does not own the delegate.
|
| @@ -176,6 +179,10 @@ class COMPOSITOR_EXPORT LayerAnimator : public AnimationContainerElement {
|
| // properties affected by |sequence|.
|
| bool StartSequenceImmediately(LayerAnimationSequence* sequence);
|
|
|
| + // Sets the value of delegate as if all the running and queued animations were
|
| + // allowed to finish.
|
| + void SetTarget(LayerAnimationDelegate* delegate) const;
|
| +
|
| // This is the queue of animations to run.
|
| AnimationQueue animation_queue_;
|
|
|
|
|