mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 06:59:47 +00:00
LibWeb: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
94a3a7d9a1
commit
3df8e00d91
Notes:
github-actions[bot]
2025-08-23 22:05:58 +00:00
Author: https://github.com/ayeteadoe
Commit: 3df8e00d91
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5229
Reviewed-by: https://github.com/ADKaster ✅
256 changed files with 728 additions and 512 deletions
|
@ -12,12 +12,13 @@
|
|||
#include <LibCore/Forward.h>
|
||||
#include <LibGC/Ptr.h>
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibWeb/Export.h>
|
||||
#include <LibWeb/HTML/EventLoop/TaskQueue.h>
|
||||
#include <LibWeb/HighResolutionTime/DOMHighResTimeStamp.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
class EventLoop : public JS::Cell {
|
||||
class WEB_API EventLoop : public JS::Cell {
|
||||
GC_CELL(EventLoop, JS::Cell);
|
||||
GC_DECLARE_ALLOCATOR(EventLoop);
|
||||
|
||||
|
@ -140,10 +141,10 @@ private:
|
|||
GC::Ptr<GC::Function<void()>> m_rendering_task_function;
|
||||
};
|
||||
|
||||
EventLoop& main_thread_event_loop();
|
||||
TaskID queue_a_task(HTML::Task::Source, GC::Ptr<EventLoop>, GC::Ptr<DOM::Document>, GC::Ref<GC::Function<void()>> steps);
|
||||
TaskID queue_global_task(HTML::Task::Source, JS::Object&, GC::Ref<GC::Function<void()>> steps);
|
||||
void queue_a_microtask(DOM::Document const*, GC::Ref<GC::Function<void()>> steps);
|
||||
WEB_API EventLoop& main_thread_event_loop();
|
||||
WEB_API TaskID queue_a_task(HTML::Task::Source, GC::Ptr<EventLoop>, GC::Ptr<DOM::Document>, GC::Ref<GC::Function<void()>> steps);
|
||||
WEB_API TaskID queue_global_task(HTML::Task::Source, JS::Object&, GC::Ref<GC::Function<void()>> steps);
|
||||
WEB_API void queue_a_microtask(DOM::Document const*, GC::Ref<GC::Function<void()>> steps);
|
||||
void perform_a_microtask_checkpoint();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue