commit | 6b5edc7529c6e7974ec0d18420cb1e72ceda898a | [log] [tgz] |
---|---|---|
author | Amber Won <amberwon@google.com> | Thu Aug 17 19:23:54 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 17 19:23:54 2017 |
tree | ea50343af78f6b9855a0b1e7503665fd283e8f0b | |
parent | 83f0c6f689192d1aca68a70765ba0dce3872266e [diff] |
Click to Open PDF: Intercept navigations to PDF files in iframes. Currently, when there are no PDF viewers available, iframes for PDF's show up blank and immediately download the PDF. In this case, intercept navigations to PDF files and instead open a data URL, which creates an object element with the file. The object element shows a placeholder with a button to view the PDF. Bug: 737787 Change-Id: Id37e0e76c88e0046dac64baf034bbfd1d70c353d Reviewed-on: https://chromium-review.googlesource.com/594943 Commit-Queue: Amber Won <amberwon@google.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Nick Carter <nick@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#495274}
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 .