| Index: ui/aura/window_delegate.h
|
| diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
|
| index 5471edf723058325c79409d95cda70599ff369b3..034ad8e49edd6a7a94107a415b76418174409cf1 100644
|
| --- a/ui/aura/window_delegate.h
|
| +++ b/ui/aura/window_delegate.h
|
| @@ -14,6 +14,7 @@ namespace gfx {
|
| class Canvas;
|
| class Point;
|
| class Rect;
|
| +class Size;
|
| }
|
|
|
| namespace aura {
|
| @@ -26,9 +27,8 @@ class TouchEvent;
|
| // Delegate interface for aura::Window.
|
| class AURA_EXPORT WindowDelegate {
|
| public:
|
| - // Called before the Window's position and/or size changes and deleage could
|
| - // take this opportunity to examine and change the new bounds.
|
| - virtual void OnBoundsChanging(gfx::Rect* new_bounds) = 0;
|
| + // Returns the window's minimum size, or size 0,0 if there is no limit.
|
| + virtual gfx::Size GetMinimumSize() const = 0;
|
|
|
| // Called when the Window's position and/or size changes.
|
| virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
|
|
|