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

Issue 18627002: Change dialog texts for folder upload to explicitly indicate it's for 'Uploading' (Closed)

Created:
7 years, 5 months ago by kinuko
Modified:
7 years, 4 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, jam, joi+watch-content_chromium.org, rginda+watch_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, jshin+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Change dialog texts for folder upload to explicitly indicate it's for 'Uploading' Currently we show the same dialog title and confirm button ('Select Folder' and 'OK' or 'Open') for folder upload, but it should more clearly tell that it's for 'uploading', so that the user can know s/he is exposing the folder content to the website. This patch makes following UI string changes to make it clear: * "Select a folder to upload" for dialog title on ChromeOS (original text is: "Select a folder to open") * "Select Folder to Upload" for dialog title on other platforms (original text is: "Select Folder") * "Upload" for dialog confirm button (original text is: "Open") The new string texts have gotten LGTM by UI team. BUG=252888 TEST=manual R=avi@chromium.org, jamesr@chromium.org, sky@chromium.org, yoshiki@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214588

Patch Set 1 #

Total comments: 2

Patch Set 2 : added comments #

Total comments: 4

Patch Set 3 : addressed comments #

Patch Set 4 : nit fixes #

Patch Set 5 : build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -35 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/file_select_helper.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/file_manager/css/file_manager.css View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 8 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_selection.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc View 1 4 chunks +9 lines, -4 lines 0 comments Download
M content/public/common/file_chooser_params.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/base/strings/ui_strings.grd View 1 2 chunks +9 lines, -0 lines 0 comments Download
M ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc View 1 2 3 chunks +18 lines, -5 lines 0 comments Download
M ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc View 1 4 chunks +9 lines, -5 lines 0 comments Download
M ui/shell_dialogs/select_file_dialog.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M ui/shell_dialogs/select_file_dialog_mac.mm View 1 2 chunks +5 lines, -2 lines 0 comments Download
M ui/shell_dialogs/select_file_dialog_win.cc View 1 2 3 4 2 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kinuko
I'm changing folder picker dialog texts for "<input type=file directory>" to reduce the security concern. ...
7 years, 4 months ago (2013-07-29 06:55:03 UTC) #1
Avi (use Gerrit)
BTW, can you cc me on the bug? https://codereview.chromium.org/18627002/diff/1/ui/shell_dialogs/select_file_dialog.h File ui/shell_dialogs/select_file_dialog.h (right): https://codereview.chromium.org/18627002/diff/1/ui/shell_dialogs/select_file_dialog.h#newcode35 ui/shell_dialogs/select_file_dialog.h:35: SELECT_UPLOAD_FOLDER, ...
7 years, 4 months ago (2013-07-29 07:01:46 UTC) #2
kinuko
Cc-ed both of you to the issue. https://codereview.chromium.org/18627002/diff/1/ui/shell_dialogs/select_file_dialog.h File ui/shell_dialogs/select_file_dialog.h (right): https://codereview.chromium.org/18627002/diff/1/ui/shell_dialogs/select_file_dialog.h#newcode35 ui/shell_dialogs/select_file_dialog.h:35: SELECT_UPLOAD_FOLDER, On ...
7 years, 4 months ago (2013-07-29 07:23:08 UTC) #3
jamesr
content/renderer/render_view_impl.cc lgtm
7 years, 4 months ago (2013-07-29 09:01:13 UTC) #4
kinuko
sky: can you review ui/*, chrome/browser/ui/* changes?
7 years, 4 months ago (2013-07-29 10:43:38 UTC) #5
Avi (use Gerrit)
lgtm https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/select_file_dialog.h File ui/shell_dialogs/select_file_dialog.h (right): https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/select_file_dialog.h#newcode38 ui/shell_dialogs/select_file_dialog.h:38: // Like SELECT_FOLDER, but specifically for uploading a ...
7 years, 4 months ago (2013-07-29 14:44:48 UTC) #6
sky
LGTM https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc File ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc (right): https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc#newcode79 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc:79: Type type, const std::string& title, nit: when you ...
7 years, 4 months ago (2013-07-29 16:22:34 UTC) #7
kinuko
https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc File ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc (right): https://codereview.chromium.org/18627002/diff/23001/ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc#newcode79 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc:79: Type type, const std::string& title, On 2013/07/29 16:22:34, sky ...
7 years, 4 months ago (2013-07-30 07:37:15 UTC) #8
kinuko
yoshiki: can you review c/b/*/file_manager/* UI changes?
7 years, 4 months ago (2013-07-30 07:38:46 UTC) #9
yoshiki
lgtm. Thanks for doing this!
7 years, 4 months ago (2013-07-30 07:46:53 UTC) #10
kinuko
7 years, 4 months ago (2013-07-31 06:33:58 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 manually as r214588 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698