diff options
Diffstat (limited to 'ash/wm/window_animations.h')
-rw-r--r-- | ash/wm/window_animations.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h index 1d1a9f7..0a7c0bc 100644 --- a/ash/wm/window_animations.h +++ b/ash/wm/window_animations.h @@ -74,12 +74,12 @@ ASH_EXPORT void SetWindowVisibilityAnimationVerticalPosition( ASH_EXPORT ui::ImplicitAnimationObserver* CreateHidingWindowAnimationObserver( aura::Window* window); -namespace internal { - // Animate a cross-fade of |window| from its current bounds to |new_bounds|. ASH_EXPORT void CrossFadeToBounds(aura::Window* window, const gfx::Rect& new_bounds); +namespace internal { + // Returns the duration of the cross-fade animation based on the |old_bounds| // and |new_bounds| of the window. ASH_EXPORT base::TimeDelta GetCrossFadeDuration(const gfx::Rect& old_bounds, |