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 aa9b14c0f5f21c9034fe0f628d4e7e279193aa9f..ccfd26ef98287f8e292653cf30d97d2d59d672b5 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) {} |