mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +00:00
LibWeb: Allow moving document load event delayers
This allows us to store lists of delayers.
This commit is contained in:
parent
900500c0b3
commit
874e094ed8
Notes:
github-actions[bot]
2025-05-22 21:45:58 +00:00
Author: https://github.com/trflynn89
Commit: 874e094ed8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4843
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 20 additions and 2 deletions
|
@ -13,11 +13,14 @@
|
|||
namespace Web::DOM {
|
||||
|
||||
class DocumentLoadEventDelayer {
|
||||
AK_MAKE_NONMOVABLE(DocumentLoadEventDelayer);
|
||||
AK_MAKE_NONCOPYABLE(DocumentLoadEventDelayer);
|
||||
|
||||
public:
|
||||
explicit DocumentLoadEventDelayer(Document&);
|
||||
|
||||
DocumentLoadEventDelayer(DocumentLoadEventDelayer&&);
|
||||
DocumentLoadEventDelayer& operator=(DocumentLoadEventDelayer&&);
|
||||
|
||||
~DocumentLoadEventDelayer();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue