commit | 53eeaefa85a3e08e7e65ec48734ef8f090172751 | [log] [tgz] |
---|---|---|
author | ckitagawa <ckitagawa@chromium.org> | Fri Nov 08 15:17:34 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 08 15:17:34 2019 |
tree | 35a9c4fd151024cdbbc2c3cf67fb309d6b837efd | |
parent | ff103761f4b90a1615e51d482e082fc1fcd5e9e8 [diff] |
[Paint Preview] Blink Implementation of Paint Preview This CL implements the required code to capture paint previews in Blink. The majority of the code is shared with printing; however, new flags are introduced to handle the differences between printing and painting of previews. This CL *does not* introduce support for OOP iframe paint previews and scrolling them (to be handled in a separate CL). Desired Behaviors; - Paint Previews should look exactly like the current webpage and should not reformat in the way printing does. This includes ignoring print display tags and the simplifications used in painting. - Paint Previews should re-layout to be the full contents of the page not just the viewport. This is achieved by printing to a canvas the size of the document (single page). - Paint Previews should print to a single Skia Picture (per frame) rather than a Metafile Skia Document. Design doc: go/fdt-design Part of landing: https://chromium-review.googlesource.com/c/chromium/src/+/1786583 Bug: 1001109 Change-Id: If0e947befea8ecc78b2cbee950e8c1cbd8e1281e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1844057 Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/master@{#713822}
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 .