Index: ui/aura/window_delegate.h |
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
index f79b4692731740f2fde16838d43c86e2beae68f8..b6a95c063bc897db91391dd6568ebec849d3d688 100644 |
--- a/ui/aura/window_delegate.h |
+++ b/ui/aura/window_delegate.h |
@@ -36,6 +36,9 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler { |
// Returns the window's minimum size, or size 0,0 if there is no limit. |
virtual gfx::Size GetMinimumSize() const = 0; |
+ // Returns the window's maximum size, or size 0,0 if there is no limit. |
+ virtual gfx::Size GetMaximumSize() const = 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; |