Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: ui/views/animation/bounds_animator.h

Issue 10630013: Adds LocationBarContainer that contains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove set_view_to_focus Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/views/animation/bounds_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/bounds_animator.h
diff --git a/ui/views/animation/bounds_animator.h b/ui/views/animation/bounds_animator.h
index 3bbbc4a8ece9e047fda7b12fada5492a13e8c353..69348c9452fae7c890d5d01d32b77c7af7af1e70 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);
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/views/animation/bounds_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698