test: add -pdf-ready-to-print event to WebContents for testing (#43651)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
4b5d29201c
commit
96fe03b200
5 changed files with 30 additions and 11 deletions
|
@ -478,6 +478,8 @@ class WebContents : public ExclusiveAccessContext,
|
|||
|
||||
void SetBackgroundColor(std::optional<SkColor> color);
|
||||
|
||||
void PDFReadyToPrint();
|
||||
|
||||
SkRegion* draggable_region() {
|
||||
return force_non_draggable_ ? nullptr : draggable_region_.get();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue