Skip to content

Commit

Permalink
Revert 234870 "[Files.app] Set the minimum size of file dialog a..."
Browse files Browse the repository at this point in the history
> [Files.app] Set the minimum size of file dialog as 320px x 240px
> 
> BUG=310818
> TEST=manually tested
> 
> Review URL: https://codereview.chromium.org/70673003

TBR=yoshiki@chromium.org

Review URL: https://codereview.chromium.org/85643004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237198 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
yoshiki@chromium.org committed Nov 26, 2013
1 parent 06966d0 commit c77c31f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions chrome/browser/ui/views/select_file_dialog_extension.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ namespace {

const int kFileManagerWidth = 972; // pixels
const int kFileManagerHeight = 640; // pixels
const int kFileManagerMinWidth = 320; // pixels
const int kFileManagerMinHeight = 240; // pixels

// Holds references to file manager dialogs that have callbacks pending
// to their listeners.
Expand Down Expand Up @@ -372,8 +370,8 @@ void SelectFileDialogExtension::SelectFileImpl(
ExtensionDialog* dialog = ExtensionDialog::Show(file_manager_url,
base_window, profile_, web_contents,
kFileManagerWidth, kFileManagerHeight,
kFileManagerMinWidth,
kFileManagerMinHeight,
kFileManagerWidth,
kFileManagerHeight,
#if defined(USE_AURA)
file_manager::util::GetSelectFileDialogTitle(type),
#else
Expand Down

0 comments on commit c77c31f

Please sign in to comment.