Headless printing: refactor print template to allow header/footer customization.
This change enables remote users to define and style printing headers and footers. Proposed API exposes following element classes: 'date', 'title', 'url', 'pageNumber', 'totalPages' ...that can be used to tag template elements. Printing subsystem will substitute text content of these elements with the actual values. Header and footer templates will be provided over the remote debugging protocol and injected into the preview later. Change-Id: Ia3d1737d532b7f951007a0260c4936fcac0276fc Reviewed-on: https://chromium-review.googlesource.com/813177 Commit-Queue: Pavel Feldman <pfeldman@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#523674}
Showing
Please register or sign in to comment