DescriptionUse GuestView embedder when determing the print preview dialog dimensions.
The print preview dialog uses the initiator WebContents to determine its
size. For prints from embedded GuestViews, this can cause print preview
dialogs to be smaller than normal. This CL fixes this by changing
PrintPreviewDialogDelegate::GetDialogSize() to follow the chain of
GuestView embedders to find the outermost WebContents and use it to
determine the dialog size.
BUG=450564
Committed: https://crrev.com/3f44c4635f98d5b4b8f7df70c0e6a503d01e4920
Cr-Commit-Position: refs/heads/master@{#312545}
Patch Set 1 : #
Messages
Total messages: 8 (3 generated)
|