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

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: review fix Created 8 years, 9 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..eff2efa957f8329525e9f3a5b0891f21fff942a9 100644
--- a/chrome/browser/ui/webui/html_dialog_ui.cc
+++ b/chrome/browser/ui/webui/html_dialog_ui.cc
@@ -103,11 +103,19 @@ ExternalHtmlDialogUI::ExternalHtmlDialogUI(content::WebUI* web_ui)
ExternalHtmlDialogUI::~ExternalHtmlDialogUI() {
}
+void HtmlDialogUIDelegate::GetMinimumDialogSize(gfx::Size* size) const {
+ GetDialogSize(size);
+}
+
bool HtmlDialogUIDelegate::HandleContextMenu(
const content::ContextMenuParams& params) {
return false;
}
+std::string HtmlDialogUIDelegate::GetDialogName() const {
James Hawkins 2012/03/15 16:34:36 Ordering still doesn't match the header.
yoshiki 2012/03/16 05:55:10 Sorry, I took a mistake. I've fixed. On 2012/03/1
+ return std::string();
+}
+
bool HtmlDialogUIDelegate::HandleOpenURLFromTab(
content::WebContents* source,
const content::OpenURLParams& params,

Powered by Google App Engine
This is Rietveld 408576698