Chromium Code Reviews| 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 0987f57d68620c4d8b7004050d7adb83b887fab3..32594efa24fa7376797efec1740b4496dd8ba13d 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; |
| + // Retuens the dialog's name identifier. Used to identify this dialog for |
|
sky
2012/03/01 17:01:57
nit: retuens -> returns
yoshiki
2012/03/02 06:51:10
Done.
|
| + // 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; |