Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index a203b49d982c6e5a83613191ef7cdd64e6affe97..c197033d086f42893dc68fecc99732447ba4df28 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -235,6 +235,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// GetPreferredSize. |
virtual gfx::Size GetMinimumSize(); |
+ // Gets the maximum size of the view. Currently only used for sizing shell |
+ // windows. |
+ virtual gfx::Size GetMaximumSize(); |
+ |
// Return the height necessary to display this view with the provided width. |
// View's implementation returns the value from getPreferredSize.cy. |
// Override if your View's preferred height depends upon the width (such |