| Index: ui/aura/window_delegate.h
|
| diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
|
| index bcbd2a6984ccc758c48607fc853f4b7fbc981402..70db9960cab451b85c031aedc9e1b6bd7d648950 100644
|
| --- a/ui/aura/window_delegate.h
|
| +++ b/ui/aura/window_delegate.h
|
| @@ -39,6 +39,10 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler {
|
| // Returns the window's maximum size, or size 0,0 if there is no limit.
|
| virtual gfx::Size GetMaximumSize() const = 0;
|
|
|
| + // Ensure the host window is at least this large so that transitions have
|
| + // sufficient space.
|
| + virtual void SetHostTransitionBounds(const gfx::Rect& bounds) = 0;
|
| +
|
| // Called when the Window's position and/or size changes.
|
| virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
|
| const gfx::Rect& new_bounds) = 0;
|
| @@ -69,6 +73,9 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler {
|
| // Called when the window's device scale factor has changed.
|
| virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
|
|
|
| + // Called after the window has faded out on a hide.
|
| + virtual void OnWindowHidingAnimationCompleted() = 0;
|
| +
|
| // Called from Window's destructor before OnWindowDestroyed and before the
|
| // children have been destroyed and the window has been removed from its
|
| // parent.
|
|
|