Add non-native file support to the ViewMsg_RunFileChooserResponse message.
commit570357bdbeb33d6733539a0f317290bc26759699
authorhirono <hirono@chromium.org>
Wed, 8 Oct 2014 12:39:27 +0000 (8 05:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Oct 2014 12:39:39 +0000 (8 12:39 +0000)
tree6a8d74c2773f9d4be6096efa6e2d934079d470ff
parent2eb633d03c8465bca5dbc634431cd6fb1f20570a
Add non-native file support to the ViewMsg_RunFileChooserResponse message.

The CL adds properties needed for representing non-native files to the
ViewMsg_RunFileChooserResponse message.

Previously the SelectedFileInfo structure represents a file in the message. The
structure is shared by many classes, so instead of modifying the structure, the
CL introduces new FileChooserFileInfo structure.

BUG=126902
TEST=None

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

Cr-Commit-Position: refs/heads/master@{#298688}
12 files changed:
android_webview/native/aw_web_contents_delegate.cc
chrome/browser/file_select_helper.cc
content/browser/renderer_host/render_view_host_impl.cc
content/browser/renderer_host/render_view_host_impl.h
content/common/view_messages.h
content/content_common.gypi
content/public/browser/render_view_host.h
content/public/common/file_chooser_file_info.cc [new file with mode: 0644]
content/public/common/file_chooser_file_info.h [new file with mode: 0644]
content/renderer/pepper/pepper_file_chooser_host_unittest.cc
content/renderer/render_view_impl.cc
content/renderer/render_view_impl.h