forked from Pissandshittium/pissandshittium
-
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.
Migrate GetCenteredPageContentRect() out of PrintedDocument
The Windows-only PrintedDocument::GetCenteredPageContentRect() function doesn't require any PrintedDocument internals. This can be moved to the printing utilities. This relocation is part of the PrintedDocument refactoring to remove system printing calls from its implementations. Placing it in the utility location will assist in the forthcoming refactoring of PrintedDocument::RenderPrintedPage() in https://crrev.com/c/3183193. There is no change to the functionality of GetCenteredPageContentRect() with this move. Bug: 809738 Change-Id: I80aaf066721e1abc504cf566606dc7c4fd9ca6df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3183046 Commit-Queue: Alan Screen <awscreen@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#947595}
- Loading branch information
Alan Screen
authored and
Chromium LUCI CQ
committed
Dec 2, 2021
1 parent
883aa8c
commit 95898fd
Showing
8 changed files
with
81 additions
and
80 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 was deleted.
Oops, something went wrong.
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