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

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

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.cc
diff --git a/chrome/browser/ui/webui/html_dialog_ui.cc b/chrome/browser/ui/webui/html_dialog_ui.cc
index 55c35e289c3680e880f39262705720e5f7281b15..a47207b3edd8e20ff1e0d69cd46814a66db2a8bf 100644
--- a/chrome/browser/ui/webui/html_dialog_ui.cc
+++ b/chrome/browser/ui/webui/html_dialog_ui.cc
@@ -103,6 +103,14 @@ ExternalHtmlDialogUI::ExternalHtmlDialogUI(content::WebUI* web_ui)
ExternalHtmlDialogUI::~ExternalHtmlDialogUI() {
}
+void HtmlDialogUIDelegate::GetMinimumDialogSize(gfx::Size* size) const {
+ GetDialogSize(size);
+}
+
+std::string HtmlDialogUIDelegate::GetDialogName() const {
+ return std::string();
+}
+
bool HtmlDialogUIDelegate::HandleContextMenu(
const content::ContextMenuParams& params) {
return false;

Powered by Google App Engine
This is Rietveld 408576698