| Index: chrome/browser/ui/webui/html_dialog_ui.h
|
| diff --git a/chrome/browser/ui/webui/html_dialog_ui.h b/chrome/browser/ui/webui/html_dialog_ui.h
|
| index 5af28927f1c61c3b08daac3edfe3f8ead1ecdbc5..21dc9ab3c86d22e8d504585d559d496b2853e0d6 100644
|
| --- a/chrome/browser/ui/webui/html_dialog_ui.h
|
| +++ b/chrome/browser/ui/webui/html_dialog_ui.h
|
| @@ -41,6 +41,10 @@ class HtmlDialogUIDelegate {
|
| // Returns the title of the dialog.
|
| virtual string16 GetDialogTitle() const = 0;
|
|
|
| + // Returns the dialog's name identifier. Used to identify this dialog for
|
| + // state restoration.
|
| + virtual std::string GetDialogName() const;
|
| +
|
| // Get the HTML file path for the content to load in the dialog.
|
| virtual GURL GetDialogContentURL() const = 0;
|
|
|
| @@ -54,6 +58,9 @@ class HtmlDialogUIDelegate {
|
| // Get the size of the dialog.
|
| virtual void GetDialogSize(gfx::Size* size) const = 0;
|
|
|
| + // Get the size of the dialog.
|
| + virtual void GetMinimumDialogSize(gfx::Size* size) const;
|
| +
|
| // Gets the JSON string input to use when showing the dialog.
|
| virtual std::string GetDialogArgs() const = 0;
|
|
|
|
|