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

Unified Diff: chrome/browser/ui/views/select_file_dialog_extension.cc

Issue 14837004: Files.app: Fixed the problem that dialog opened by Ctrl+O cannot be expand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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/views/select_file_dialog_extension.cc
diff --git a/chrome/browser/ui/views/select_file_dialog_extension.cc b/chrome/browser/ui/views/select_file_dialog_extension.cc
index 148ba6dbfae655d3e64c49e9059768ece2ef5d4a..238522a2ffbe83f8c8a52302198ad5455c209b57 100644
--- a/chrome/browser/ui/views/select_file_dialog_extension.cc
+++ b/chrome/browser/ui/views/select_file_dialog_extension.cc
@@ -352,6 +352,8 @@ void SelectFileDialogExtension::SelectFileImpl(
ExtensionDialog* dialog = ExtensionDialog::Show(file_browser_url,
base_window, profile_, web_contents,
kFileManagerWidth, kFileManagerHeight,
+ kFileManagerMinimumWidth,
+ kFileManagerMinimumHeight,
#if defined(USE_AURA)
file_manager_util::GetTitleFromType(type),
#else
@@ -364,9 +366,6 @@ void SelectFileDialogExtension::SelectFileImpl(
return;
}
- dialog->SetMinimumContentsSize(kFileManagerMinimumWidth,
- kFileManagerMinimumHeight);
-
// Connect our listener to FileDialogFunction's per-tab callbacks.
AddPending(tab_id);

Powered by Google App Engine
This is Rietveld 408576698