Index: ui/web_dialogs/web_dialog_delegate.h |
diff --git a/ui/web_dialogs/web_dialog_delegate.h b/ui/web_dialogs/web_dialog_delegate.h |
index 2bd772f018e2e49f4424aa20bc9498f86ce1789c..827b4b56d300926d731628137bbd423e3e74c107 100644 |
--- a/ui/web_dialogs/web_dialog_delegate.h |
+++ b/ui/web_dialogs/web_dialog_delegate.h |
@@ -69,6 +69,10 @@ class WEB_DIALOGS_EXPORT WebDialogDelegate { |
// agreement, etc. |
virtual bool CanCloseDialog() const; |
+ // Returns true if the dialog can ever be resized. Default implementation |
+ // returns |true|. |
+ virtual bool CanResizeDialog() const; |
+ |
// A callback to notify the delegate that |source|'s loading state has |
// changed. |
virtual void OnLoadingStateChanged(content::WebContents* source) {} |