alloy: Fix printing of PDF viewer (see issue #3047)

Match the logic for printing::StartPrint() used by Chrome.
This commit is contained in:
Marshall Greenblatt
2022-02-18 11:33:40 -05:00
parent 171d525aa4
commit dc0a45d429
6 changed files with 67 additions and 58 deletions

View File

@ -26,10 +26,6 @@ namespace extensions {
class Extension;
// Returns the full-page guest WebContents for the specified |owner|, if any.
content::WebContents* GetFullPageGuestForOwnerContents(
content::WebContents* owner);
// Populates |guests| with all guest WebContents with the specified |owner|.
void GetAllGuestsForOwnerContents(content::WebContents* owner,
std::vector<content::WebContents*>* guests);