commit | 9539fccf96cc4695d50fabd5e1774eabd7805d86 | [log] [tgz] |
---|---|---|
author | Ehsan Karamad <ekaramad@chromium.org> | Fri Feb 22 03:04:08 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 22 03:04:08 2019 |
tree | c5bafb215675ea0e9f87fcf386f4637d817333cd | |
parent | aecde1deb6c3914ccd1c6d4878d97798c08dc58f [diff] |
[ MimeHandlerView ] Do not create PluginDocument This CL is the second part in the implementation of navigation to PDF resources with frame-based MimeHandlerView. This change implements the logic for creating a MimeHandlerViewFrameContainer in response to browser's request. To this end, when handling the resource request response for a PDF mime-type, DOMImplementation avoids creating a PluginDocument and implements an HTMLDocument instead. The document is then populated with the templated HTML page injected by the plugin response interceptor. Design document: https://docs.google.com/document/d/1_gJv4_fewyfjI7lcUgFX14iQxDudtEMrsjjWKpkI5BI/edit Bug: 659750 Change-Id: I9a4490d99391d746333f76979e98682fa6742be7 Reviewed-on: https://chromium-review.googlesource.com/c/1477921 Reviewed-by: James MacLean <wjmaclean@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Ehsan Karamad <ekaramad@chromium.org> Commit-Queue: Ehsan Karamad <ekaramad@chromium.org> Cr-Commit-Position: refs/heads/master@{#634499}
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 .