| Index: ui/views/animation/bounds_animator.cc
|
| diff --git a/ui/views/animation/bounds_animator.cc b/ui/views/animation/bounds_animator.cc
|
| index 18ae47ac62ec2b7185f292c654b88c07658b31f4..2c3fd053543b8d2f1461b0fe0f8471691e2bdfdb 100644
|
| --- a/ui/views/animation/bounds_animator.cc
|
| +++ b/ui/views/animation/bounds_animator.cc
|
| @@ -79,6 +79,12 @@ void BoundsAnimator::SetTargetBounds(View* view, const gfx::Rect& target) {
|
| data_[view].target_bounds = target;
|
| }
|
|
|
| +gfx::Rect BoundsAnimator::GetTargetBounds(View* view) {
|
| + if (!IsAnimating(view))
|
| + return view->bounds();
|
| + return data_[view].target_bounds;
|
| +}
|
| +
|
| void BoundsAnimator::SetAnimationForView(View* view,
|
| SlideAnimation* animation) {
|
| DCHECK(animation);
|
|
|