fix: webContents.printToPDF()
with cross-process subframes (#46218)
fix: webContents.printToPDF() with cross-process subframes
This commit is contained in:
parent
8e856dfdb8
commit
1d6cb348b4
5 changed files with 63 additions and 1 deletions
|
@ -585,6 +585,11 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
void DraggableRegionsChanged(
|
||||
const std::vector<blink::mojom::DraggableRegionPtr>& regions,
|
||||
content::WebContents* contents) override;
|
||||
void PrintCrossProcessSubframe(
|
||||
content::WebContents* web_contents,
|
||||
const gfx::Rect& rect,
|
||||
int document_cookie,
|
||||
content::RenderFrameHost* subframe_host) const override;
|
||||
|
||||
// content::WebContentsObserver:
|
||||
void BeforeUnloadFired(bool proceed) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue