commit | 53fe68888c1b3e844195142b6ddba163bab85cd9 | [log] [tgz] |
---|---|---|
author | Sam McNally <sammc@chromium.org> | Fri Dec 07 05:21:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 05:21:39 2018 |
tree | 999ac1fafda933c84a424e827034ff1f2e5bf558 | |
parent | b87d9e9516460c683b698bb569d85ed8a9fd7348 [diff] |
Add support for returning URLs from SelectFileDialogs. On ChromeOS, filesystem provider-provided files should be accessed via an externalfile URL. Further, hosted gdocs should be redirected to their URLs. Currently, this is handled within Browser. Add a |url| field to SelectedFileInfo to allow communicating these values from the dialog to Browser to avoid needing to leak this into Browser. Migrate this special-casing into the existing handling of SelectFileDialog results on ChromeOS, populating the |url| there. Bug: 843881 Change-Id: I9808cdbf38fb4da26b99c8a45f8bda4fd0bee9a7 Reviewed-on: https://chromium-review.googlesource.com/c/1360812 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#614615}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .