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

Issue 10697010: Make saving files from flash less annoying. (Closed)

Created:
8 years, 5 months ago by Tom Sepez
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Make saving files from flash less annoying. Resolves missing or relative suggested paths relative to the last opened directory, and when the path is a directory itself, browse files under it rather than itself under its parent. Determining the latter takes a file system interrogation because the syntax isn't sufficient. BUG=140799 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151738

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -16 lines) Patch
M chrome/browser/file_select_helper.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M ui/base/dialogs/gtk/select_file_dialog_impl_gtk.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -4 lines 0 comments Download
M ui/base/dialogs/select_file_dialog_win.cc View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Tom Sepez
Evan, please review or suggest an appropriate reviewer. This change works well using the example ...
8 years, 5 months ago (2012-06-27 21:07:06 UTC) #1
Evan Stade
http://codereview.chromium.org/10697010/diff/1/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc File chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc (right): http://codereview.chromium.org/10697010/diff/1/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc#newcode407 chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc:407: if (CallDirectoryExistsOnUIThread(default_path)) { there has to be a way ...
8 years, 5 months ago (2012-06-28 03:52:18 UTC) #2
viettrungluu
http://codereview.chromium.org/10697010/diff/1/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc File chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc (right): http://codereview.chromium.org/10697010/diff/1/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc#newcode407 chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc:407: if (CallDirectoryExistsOnUIThread(default_path)) { On 2012/06/28 03:52:18, Evan Stade wrote: ...
8 years, 5 months ago (2012-06-28 03:59:52 UTC) #3
Tom Sepez
The diaglog box as provided by your window system is about to stat() a bunch ...
8 years, 5 months ago (2012-06-28 18:07:47 UTC) #4
Tom Sepez
Not liking the idea of making the callers responsible for this; they may get input ...
8 years, 5 months ago (2012-06-29 17:06:57 UTC) #5
Evan Stade
On 2012/06/29 17:06:57, Tom Sepez wrote: > Not liking the idea of making the callers ...
8 years, 5 months ago (2012-06-29 18:50:36 UTC) #6
Tom Sepez
Looks like the windows version of this will be doing the disk operation on its ...
8 years, 5 months ago (2012-06-29 21:59:08 UTC) #7
Evan Stade
lgtm, assuming it works on windows http://codereview.chromium.org/10697010/diff/10005/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc File chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc (right): http://codereview.chromium.org/10697010/diff/10005/chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc#newcode410 chrome/browser/ui/gtk/select_file_dialog_impl_gtk.cc:410: gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), ""); is ...
8 years, 5 months ago (2012-07-02 18:59:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/10697010/31001
8 years, 4 months ago (2012-08-14 22:07:04 UTC) #9
commit-bot: I haz the power
Presubmit check for 10697010-31001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-14 22:07:13 UTC) #10
Tom Sepez
+ben who is listed in both OWNERS files.
8 years, 4 months ago (2012-08-14 22:10:30 UTC) #11
Ben Goodger (Google)
lgtm http://codereview.chromium.org/10697010/diff/31001/ui/base/dialogs/select_file_dialog_win.cc File ui/base/dialogs/select_file_dialog_win.cc (right): http://codereview.chromium.org/10697010/diff/31001/ui/base/dialogs/select_file_dialog_win.cc#newcode82 ui/base/dialogs/select_file_dialog_win.cc:82: file_info.is_directory : file_util::EndsWithSeparator(path); 4-space indent
8 years, 4 months ago (2012-08-14 23:06:54 UTC) #12
Tom Sepez
http://codereview.chromium.org/10697010/diff/31001/ui/base/dialogs/select_file_dialog_win.cc File ui/base/dialogs/select_file_dialog_win.cc (right): http://codereview.chromium.org/10697010/diff/31001/ui/base/dialogs/select_file_dialog_win.cc#newcode82 ui/base/dialogs/select_file_dialog_win.cc:82: file_info.is_directory : file_util::EndsWithSeparator(path); On 2012/08/14 23:06:54, Ben Goodger (Google) ...
8 years, 4 months ago (2012-08-14 23:10:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/10697010/42001
8 years, 4 months ago (2012-08-14 23:11:51 UTC) #14
commit-bot: I haz the power
Try job failure for 10697010-42001 (retry) on linux_chromeos for step "browser_tests". It's a second try, ...
8 years, 4 months ago (2012-08-15 03:41:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/10697010/42001
8 years, 4 months ago (2012-08-15 17:08:27 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 20:44:03 UTC) #17
Change committed as 151738

Powered by Google App Engine
This is Rietveld 408576698