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 4f7159e5804a49a2f8b61942e337b8dc5479c1de..39cc74bca412488132b8ee87f954d241ec03ef6b 100644 |
--- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h |
+++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h |
@@ -51,6 +51,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: |