mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Port {set,clear}{Timeout,Interval} to IDL
This commit is contained in:
parent
6c5e79ce3a
commit
0aa4466ce9
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/trflynn89
Commit: 0aa4466ce9
Pull-request: https://github.com/SerenityOS/serenity/pull/17849
Reviewed-by: https://github.com/linusg ✅
3 changed files with 11 additions and 93 deletions
|
@ -56,8 +56,12 @@ public:
|
|||
|
||||
using WindowOrWorkerGlobalScopeMixin::atob;
|
||||
using WindowOrWorkerGlobalScopeMixin::btoa;
|
||||
using WindowOrWorkerGlobalScopeMixin::clear_interval;
|
||||
using WindowOrWorkerGlobalScopeMixin::clear_timeout;
|
||||
using WindowOrWorkerGlobalScopeMixin::fetch;
|
||||
using WindowOrWorkerGlobalScopeMixin::queue_microtask;
|
||||
using WindowOrWorkerGlobalScopeMixin::set_interval;
|
||||
using WindowOrWorkerGlobalScopeMixin::set_timeout;
|
||||
using WindowOrWorkerGlobalScopeMixin::structured_clone;
|
||||
|
||||
// ^DOM::EventTarget
|
||||
|
@ -231,11 +235,6 @@ private:
|
|||
CrossOriginPropertyDescriptorMap m_cross_origin_property_descriptor_map;
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_interval);
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_timeout);
|
||||
JS_DECLARE_NATIVE_FUNCTION(clear_interval);
|
||||
JS_DECLARE_NATIVE_FUNCTION(clear_timeout);
|
||||
};
|
||||
|
||||
void run_animation_frame_callbacks(DOM::Document&, double now);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue