LibWeb: Move StructuredSerializeOptions to its own header

This largely reduces the number of files needed to be compiled when we
change the MessagePort header.
This commit is contained in:
Timothy Flynn 2024-10-17 08:46:48 -04:00 committed by Tim Flynn
commit 32a22c49e3
Notes: github-actions[bot] 2024-10-17 20:35:59 +00:00
16 changed files with 31 additions and 22 deletions

View file

@ -6,20 +6,11 @@
#pragma once
#include <AK/RefCounted.h>
#include <LibURL/Parser.h>
#include <LibWeb/Bindings/MainThreadVM.h>
#include <LibWeb/Forward.h>
#include <LibWeb/HTML/AbstractWorker.h>
#include <LibWeb/HTML/MessageEvent.h>
#include <LibWeb/HTML/MessagePort.h>
#include <LibWeb/HTML/Scripting/ClassicScript.h>
#include <LibWeb/HTML/Scripting/WindowEnvironmentSettingsObject.h>
#include <LibWeb/HTML/Scripting/WorkerEnvironmentSettingsObject.h>
#include <LibWeb/HTML/Window.h>
#include <LibWeb/HTML/WorkerAgent.h>
#include <LibWeb/HTML/WorkerDebugConsoleClient.h>
#include <LibWeb/Loader/ResourceLoader.h>
#include <LibWeb/WebIDL/ExceptionOr.h>
#define ENUMERATE_WORKER_EVENT_HANDLERS(E) \
E(onmessage, HTML::EventNames::message) \