commit | 00b5593b50a10f363c9128f25f0499e1ce1f3bf1 | [log] [tgz] |
---|---|---|
author | Wei Li <weili@chromium.org> | Fri Feb 23 01:23:14 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 23 01:23:14 2018 |
tree | 8f96111d9dd340467becd363611958da7702264a | |
parent | 2181305023501418e22e421c3ad7a2ecb0322b4d [diff] |
Support subframe printing without pagination When printing a cross process subframe such as an out-of-process iframe, the content in that frame should not fit into a page size. Instead it should be constrained by its parent. In addition, if it being scrolled, printing should start from the scrolled offset. This CL passes in and through a cross process subframe flag to indicate such case, for which we don't force printing layout or pagination. So it can be printed as is. Also in this CL, SetPrinting() is refactored into StartPrinting() and EndPrinting() to make the purposes of the APIs and their parameters more clear. BUG=455764 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I9dc67068bf305a580835cb4d11666d09ff4d449a Reviewed-on: https://chromium-review.googlesource.com/923210 Commit-Queue: Wei Li <weili@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#538653}
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 .