commit | 015014924bd3def93f8c8335b66ac3f2014f85c9 | [log] [tgz] |
---|---|---|
author | Sam McNally <sammc@chromium.org> | Tue Dec 11 04:35:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 11 04:35:52 2018 |
tree | d1de669cbdcdb9bac0eb548039f24e4df3bb32fe | |
parent | 55111f45b671d305dffe0e4dafa3f29ae6062064 [diff] |
Provide the alternate URL as the drag and drop URL for hosted docs. With the old Drive integration, all files were accessed via externalfile: URLs. Those for hosted docs redirected to the actual URL for accessing that doc. With DriveFS, real file: URLs are used so no externalfile: URLs exist. The drag and drop code populates the File and, if available, the externalfile: URL in the DataTransfer. For hosted docs under DriveFS, this is insufficient as the files are not openable. However, the alternateUrl is the URL needed to access the hosted doc so substitute it for the externalfile: URL for hosted docs. Bug: 913725 Change-Id: Ib9456042e1e864b378b71db404e1ea406959b1fe Reviewed-on: https://chromium-review.googlesource.com/c/1370152 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#615428}
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 .