Set flag in PrintPreviewUI if source is a PDF.
Currently, PrintPreviewUI knows only if a source is modifiable or not. Both PDF and Flash sources are not modifiable and there is no way to distinguish them in the print preview UI. Knowing this information will allow changes to PDF printing while Flash is still supported on Chrome. The Renderer process can determine if the source is a PDF if a PDF interface can be loaded in the PepperPluginInstanceImpl class. The information is then relayed to the Browser process through an existing IPC message. Bug: 989978 Change-Id: If04a82d77d330e53a7425fcc9fdda862371f8bae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788484Reviewed-by:Raymes Khoury <raymes@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#695971}
Showing
Please register or sign in to comment