commit | e2d97ddaed7b76f22de1f3f26d7683b52f77d98f | [log] [tgz] |
---|---|---|
author | Eugene But <eugenebut@google.com> | Thu Jan 10 21:51:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 10 21:51:01 2019 |
tree | 9cdf229b58bb5155f9b5e8bef8fc11f902fd3472 | |
parent | d19d30d2aeb1461c239ea35368103e269bfa5867 [diff] |
Allow WebState to load file:// URLs if virtual URL is app-specific. Chrome for iOS allows loading PDF files from file system which were received by external apps. Currently the feature is implemented with ExternalFileController that uses separate WKWebView to load the file. ExternalFileController is built on top of deprecated NativeContent API which should be removed. This CL allows WebState to load file URLs for browser-initiated navigations that have app-specific virtual URL. This way external files can be rendered in WebState onstead of using ExternalFileController. Bug: 913602 Change-Id: I3453e367a8b57482ea01e4e97d24712bb976a8c0 Reviewed-on: https://chromium-review.googlesource.com/c/1401436 Reviewed-by: Ali Juma <ajuma@chromium.org> Reviewed-by: Danyao Wang <danyao@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#621754}
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 .