Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7112)

Unified Diff: chrome/browser/ui/webui/html_dialog_ui.h

Issue 9569001: WebUI TaskManager: Add method to set minimum window size on HTMLDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698