summaryrefslogtreecommitdiffstats
path: root/ui/views/animation/bounds_animator.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 16:06:40 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 16:06:40 +0000
commit2f7b07f360d55c69362da1f869ed97a6e2d7b9a7 (patch)
treea60188a651b8c14947e9d722183eebeba566b2bd /ui/views/animation/bounds_animator.h
parented447dad02345ab4753d009db34daca7030f779e (diff)
downloadchromium_src-2f7b07f360d55c69362da1f869ed97a6e2d7b9a7.zip
chromium_src-2f7b07f360d55c69362da1f869ed97a6e2d7b9a7.tar.gz
chromium_src-2f7b07f360d55c69362da1f869ed97a6e2d7b9a7.tar.bz2
Adds LocationBarContainer that contains
LocationBarView. LocationBarContainer is a child of BrowserView so that it can be placed outside of the ToolbarView. BUG=none TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10630013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/animation/bounds_animator.h')
-rw-r--r--ui/views/animation/bounds_animator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/views/animation/bounds_animator.h b/ui/views/animation/bounds_animator.h
index 3bbbc4a..69348c9 100644
--- a/ui/views/animation/bounds_animator.h
+++ b/ui/views/animation/bounds_animator.h
@@ -60,6 +60,10 @@ class VIEWS_EXPORT BoundsAnimator : public ui::AnimationDelegate,
// invoking |AnimateViewTo|.
void SetTargetBounds(View* view, const gfx::Rect& target);
+ // Returns the target bounds for the specified view. If |view| is not
+ // animating its current bounds is returned.
+ gfx::Rect GetTargetBounds(View* view);
+
// Sets the animation for the specified view. BoundsAnimator takes ownership
// of the specified animation.
void SetAnimationForView(View* view, ui::SlideAnimation* animation);