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

Issue 663293002: Pass needLocalPath flag to file chooser dialog. (Closed)

Created:
6 years, 2 months ago by hirono
Modified:
6 years, 2 months ago
Reviewers:
Lei Zhang, jamesr, bbudge, nasko
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, mkwst+moarreviews-ipc_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Pass needLocalPath flag to file chooser dialog. blink::WebFileChooserParams has a flag to show whether the receiver (WebFileChooserCompletion) needs local paths of files or not. The CL conveys the flag to the file chooser dialog so that the dialog does not create snapshot file when the receiver does not need local paths. BUG=126902 Committed: https://crrev.com/e9f2732be098fb87f17b1b19cd76f357f26cd3f1 Cr-Commit-Position: refs/heads/master@{#300648}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M chrome/browser/file_select_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/file_chooser_params.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/file_chooser_params.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_file_chooser_host.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
hirono
Pass needLocalPath flag to file chooser dialog. blink::WebFileChooserParams has a flag to show whether the ...
6 years, 2 months ago (2014-10-21 03:00:19 UTC) #1
hirono
PTAL at the CL? especially @thestig file_select_helper.h @nasko content/common/view_messages.h content/public/common/file_chooser_params.h @bbudge content/renderer/pepper/pepper_file_chooser_host.cc @jamesr content/renderer/render_view_impl.cc Thank ...
6 years, 2 months ago (2014-10-21 03:16:13 UTC) #3
Lei Zhang
chrome/ lgtm https://codereview.chromium.org/663293002/diff/1/content/public/common/file_chooser_params.h File content/public/common/file_chooser_params.h (right): https://codereview.chromium.org/663293002/diff/1/content/public/common/file_chooser_params.h#newcode50 content/public/common/file_chooser_params.h:50: bool need_local_path; You may want to put ...
6 years, 2 months ago (2014-10-21 10:42:03 UTC) #4
bbudge
content/renderer/pepper LGTM w/ comment https://codereview.chromium.org/663293002/diff/1/content/renderer/pepper/pepper_file_chooser_host.cc File content/renderer/pepper/pepper_file_chooser_host.cc (right): https://codereview.chromium.org/663293002/diff/1/content/renderer/pepper/pepper_file_chooser_host.cc#newcode144 content/renderer/pepper/pepper_file_chooser_host.cc:144: std::vector<blink::WebString> mine_types(accept_mime_types.size()); Would you mind ...
6 years, 2 months ago (2014-10-21 13:32:34 UTC) #5
jamesr
lgtm
6 years, 2 months ago (2014-10-21 15:36:28 UTC) #6
nasko
LGTM
6 years, 2 months ago (2014-10-21 15:51:51 UTC) #7
hirono
Thank you! @bbudge - TBR for params.needLocalPath = true. The flag value was wrong. PepperFileChooserHost ...
6 years, 2 months ago (2014-10-22 06:43:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663293002/20001
6 years, 2 months ago (2014-10-22 06:43:58 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-22 08:06:50 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 08:07:23 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e9f2732be098fb87f17b1b19cd76f357f26cd3f1
Cr-Commit-Position: refs/heads/master@{#300648}

Powered by Google App Engine
This is Rietveld 408576698