Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: enable OOPIF printing to PDF #36051

Merged
merged 1 commit into from
Oct 20, 2022
Merged

refactor: enable OOPIF printing to PDF #36051

merged 1 commit into from
Oct 20, 2022

Conversation

codebytere
Copy link
Member

Description of Change

Refs CL:3780384 and CL:3805932

Refactor PrintViewManagerElectron to take advantage of changes made in CL:3780384 and CL:3805932. Specifically - offload PDF print jobs to a newly added components/printing/browser/print_to_pdf/pdf_print_job.{h|cc} class. This also enables PDF composition support to allow OOPIF printing to PDF.

Tested with:

Checklist

Release Notes

Notes: Enabled out-of-process iframe printing to PDF with webContents.printToPDF()..

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/21-x-y PR should also be added to the "21-x-y" branch. target/22-x-y PR should also be added to the "22-x-y" branch. labels Oct 17, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 17, 2022
@codebytere codebytere marked this pull request as ready for review October 17, 2022 09:43
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 18, 2022
@jkleinsc
Copy link
Contributor

@jkleinsc jkleinsc merged commit 7921fec into main Oct 20, 2022
@jkleinsc jkleinsc deleted the slimmer_printing branch October 20, 2022 18:30
@release-clerk
Copy link

release-clerk bot commented Oct 20, 2022

Release Notes Persisted

Enabled out-of-process iframe printing to PDF with webContents.printToPDF()..

@trop
Copy link
Contributor

trop bot commented Oct 20, 2022

I was unable to backport this PR to "21-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/21-x-y and removed target/21-x-y PR should also be added to the "21-x-y" branch. labels Oct 20, 2022
@trop
Copy link
Contributor

trop bot commented Oct 20, 2022

I have automatically backported this PR to "22-x-y", please check out #36095

@trop trop bot added in-flight/22-x-y merged/22-x-y PR was merged to the "22-x-y" branch. and removed target/22-x-y PR should also be added to the "22-x-y" branch. in-flight/22-x-y labels Oct 20, 2022
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/22-x-y PR was merged to the "22-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants