
The Print Compositor (nee PDF Compositor) is being extended to support generating XPS documents for Windows. PDF is still created for the individual pages (e.g., for Print Preview), while XPS will optionally be used for the full document which is used for printing to a destination. Include desired document type in calls for Print Compositor so it can generate the correct type for each required composition request. Bug: 1008222 Change-Id: Idb3e182d5126cca3c9de337b9c5c6dc4220b94d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032786 Reviewed-by: Lei Zhang <thestig@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Alan Screen <awscreen@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1238177}
//printing
contains foundational code that is used for printing. It can depend
on other low-level directories like //cc/paint
and //ui
, but not higher
level code like //components
or //content
. Higher level printing code should
live in //components/printing
or the embedder.