DescriptionImplements PrintBrowser mode.
Added --enable-print-browser runtime flag.
Renders the frame in print mode in response to the enable-print-browser
runtime flag.
Currently defaults to dimensions of A4 portrait paper and is set to show
background graphics.
This functionality is dependent on slimming paint v2, which is
automatically enabled if needed.
This can be invoked from the command line with:
content_shell --enable-print-browser "http://example.com"
The virtual test environment can be run using:
run-webkit-tests virtual/print_browser
Design doc: https://docs.google.com/document/d/1G2RoH7yiwh_vosEHsHTwqETBvt2ij8p9ov0D3kIz4ww/edit?usp=sharing
BUG=667547
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2672983003
Cr-Commit-Position: refs/heads/master@{#449585}
Committed: https://chromium.googlesource.com/chromium/src/+/080936f5193590e65409c60127a510f71e910d73
Patch Set 1 #
Total comments: 2
Patch Set 2 : Merge with dependant and fixes #
Total comments: 8
Patch Set 3 : Add tests and respond to comments #
Total comments: 10
Patch Set 4 : Respond to comments #Patch Set 5 : Rebase #Messages
Total messages: 42 (22 generated)
|