Index: ui/aura/window_delegate.h |
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
index fb98de77f720ed919675d765d261d48fbc882f43..b14a0c6308661ff2134ab307c8d6e6757bd47a60 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; |