mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:27:35 +00:00
LibWeb: Add the requestIdleCallback/cancelIdleCallback API
This commit is contained in:
parent
836d2ff259
commit
ea9857a423
4 changed files with 80 additions and 1 deletions
|
@ -119,6 +119,9 @@ public:
|
|||
|
||||
void start_an_idle_period();
|
||||
|
||||
u32 request_idle_callback(NonnullOwnPtr<Bindings::CallbackType> callback);
|
||||
void cancel_idle_callback(u32);
|
||||
|
||||
private:
|
||||
explicit Window(DOM::Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue