DescriptionAdd delegate to install web_contents helpers for MimeHandlerView.
These helpers are necessary to make PDF print/save work properly.
However they are not sufficient:
1) PDF SaveAs requires a bit more work to pass in the URL,
a temporary hack is shown here: http://crrev.com/554893002/
2) PDF Print requires Constrained windows to work with mime-handler view,
which is being fixed in http://crrev.com/552013005
BUG=411765
Test=Once the changes noted above is done, it should be
possible to print/save PDF from mime-handler-view.
mime-handler-view can be triggered by navigating to a PDF with the
following two chrome flags:
--out-of-process-pdf
--enable-mime-handler-view
Committed: https://crrev.com/9b204d37f67e3f4a07f11ba4e887a028ad334967
Cr-Commit-Position: refs/heads/master@{#294074}
Patch Set 1 #
Total comments: 4
Patch Set 2 : address comments from fsamuel@ #
Total comments: 4
Patch Set 3 : add guest to constructor #Patch Set 4 : fix BUILD.gn #Patch Set 5 : sync @tott #
Total comments: 2
Patch Set 6 : remove fwd declaring MimeHandlerViewGuest #Messages
Total messages: 15 (3 generated)
|