forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alter UpdatePrintSettings API to use context ID
After https://crrev.com/1117252, UpdatePrintSettings() is no longer called as a regular query for Print Preview. It is now only used prior to invoking the system print dialog or at the start of printing a document from Print Preview. This significantly changes the use case for it, as now it can always require a context ID when it is used out-of-process. This change in API requires an OOP printing context to be established earlier. It also affects StartPrinting() since the settings are now only longer needed at this time when the system print dialog is invoked from in the browser. This facilitates some cleanup, since the Mojo PrintTargetType is no longer necessary. It is now sufficient just to know if the print job is from a system dialog. Bug: 1414968 Change-Id: Ib5e50263df54b550216525dbd10a83e6ee3efff4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4256086 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/main@{#1121921}
- Loading branch information
Alan Screen
authored and
Chromium LUCI CQ
committed
Mar 24, 2023
1 parent
fb290bb
commit fd714c1
Showing
15 changed files
with
291 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.