commit | a1cf88e7c61a35b1ac8ecc65b3924d68d67edf1e | [log] [tgz] |
---|---|---|
author | Peter Kvitek <kvitekp@chromium.org> | Fri Jul 15 21:35:52 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 15 21:35:52 2022 |
tree | 001090c82516c0ec942de20a5f43d0606463db36 | |
parent | fec701cba69a151249eb88aed893f2007ce9f253 [diff] |
Changed PrintRenderFrame.PrintWithParams mojo interface to use callback. This method reported results via client interfaces DidPrintDocument and PrintingFailed which made it difficult to use for CDP Page.printToPdf implementation. This CL changes PrintWithParams so that it reports results using a callback that is specified at the call site. Bug: 1240796 Change-Id: I9ae59719eeff28d3ca06ced0b6c9afa8d87a2b23 Cq-Include-Trybots: luci.chromium.try:linux-headless-shell-rel Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3761203 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Cr-Commit-Position: refs/heads/main@{#1024912}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.