mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 20:26:53 +00:00
LibWebView+WebContent: Inform WebContent process if browser is headless
This commit is contained in:
parent
520bf6c9be
commit
e764df15eb
Notes:
github-actions[bot]
2024-12-10 18:32:56 +00:00
Author: https://github.com/tcl3
Commit: e764df15eb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2858
Reviewed-by: https://github.com/trflynn89
9 changed files with 31 additions and 0 deletions
|
@ -34,6 +34,9 @@ public:
|
|||
};
|
||||
static void set_use_skia_painter(UseSkiaPainter);
|
||||
|
||||
virtual bool is_headless() const override;
|
||||
static void set_is_headless(bool);
|
||||
|
||||
virtual bool is_ready_to_paint() const override;
|
||||
|
||||
virtual Web::Page& page() override { return *m_page; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue