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..0851bbe777ca1653f33fbbaa105dfb08ac94adaa 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() { return animation_duration_ms_; } |
sky
2014/01/27 17:17:09
animation_duration_ms() const.
Mr4D (OOO till 08-26)
2014/01/27 18:44:18
Done.
|
+ |
// Sets the tween type for new animations. Default is EASE_OUT. |
void set_tween_type(gfx::Tween::Type type) { tween_type_ = type; } |