Index: chrome/browser/ui/webui/constrained_web_dialog_ui.h |
diff --git a/chrome/browser/ui/webui/constrained_web_dialog_ui.h b/chrome/browser/ui/webui/constrained_web_dialog_ui.h |
index 62c9a8b592c71d36f2fed80087a7f9fbd9dee308..c0e883c7b04bf85c92bb0df245d8cb97c8ac34ee 100644 |
--- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h |
+++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h |
@@ -50,6 +50,8 @@ class ConstrainedWebDialogDelegate { |
// Returns the maximum size for the dialog. |
virtual gfx::Size GetMaximumSize() const = 0; |
+ // Returns the preferred size for the dialog, or an empty size if |
+ // the dialog has been closed. |
virtual gfx::Size GetPreferredSize() const = 0; |
protected: |