Index: ui/views/widget/native_widget_delegate.h |
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h |
index 6bbef31bff91016bc375163eae78aa1dfe23c7e4..4fac0b0d2db40c4e8e75236b92ff6166e9457149 100644 |
--- a/ui/views/widget/native_widget_delegate.h |
+++ b/ui/views/widget/native_widget_delegate.h |
@@ -69,6 +69,9 @@ class VIEWS_EXPORT NativeWidgetDelegate { |
// Returns the smallest size the window can be resized to by the user. |
virtual gfx::Size GetMinimumSize() = 0; |
+ // Returns the largest size the window can be resized to by the user. |
+ virtual gfx::Size GetMaximumSize() = 0; |
+ |
// Called when the NativeWidget changed size to |new_size|. |
virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) = 0; |