Pass needLocalPath flag to file chooser dialog.
commite9f2732be098fb87f17b1b19cd76f357f26cd3f1
authorhirono <hirono@chromium.org>
Wed, 22 Oct 2014 08:06:41 +0000 (22 01:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Oct 2014 08:06:53 +0000 (22 08:06 +0000)
treee9291a1f134bd05aec73f436303445a8d3962779
parentd01014df840e0a6bd4370d2caf7fd54c4aa68346
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

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

Cr-Commit-Position: refs/heads/master@{#300648}
chrome/browser/file_select_helper.cc
content/common/view_messages.h
content/public/common/file_chooser_params.cc
content/public/common/file_chooser_params.h
content/renderer/pepper/pepper_file_chooser_host.cc
content/renderer/render_view_impl.cc