Index: ui/views/animation/bounds_animator.h |
diff --git a/ui/views/animation/bounds_animator.h b/ui/views/animation/bounds_animator.h |
index 1688dd5623593af87be81007f7cd87b66ad8f645..d846b20213210e54a8fbc895132892a9876679c7 100644 |
--- a/ui/views/animation/bounds_animator.h |
+++ b/ui/views/animation/bounds_animator.h |
@@ -95,6 +95,9 @@ class VIEWS_EXPORT BoundsAnimator : public gfx::AnimationDelegate, |
// milliseconds. |
void SetAnimationDuration(int duration_ms); |
+ // Gets the currently used animation duration. |
+ int GetAnimationDuration() const { return animation_duration_ms_; } |
+ |
// Sets the tween type for new animations. Default is EASE_OUT. |
void set_tween_type(gfx::Tween::Type type) { tween_type_ = type; } |