Truly independent web browser
LibWeb+LibWebCommon: Move WindowType to LibWebCommon
Shannon Booth3890dcce5618
diff --git a/Libraries/LibWeb/HTML/LocalNavigable.h b/Libraries/LibWeb/HTML/LocalNavigable.hindex 44cabe7dfc7..b2d05301f6c 100644--- a/Libraries/LibWeb/HTML/LocalNavigable.h+++ b/Libraries/LibWeb/HTML/LocalNavigable.h@@ -44,7 +44,6 @@#include <LibWeb/HTML/StructuredSerializeTypes.h>#include <LibWeb/HTML/TargetSnapshotParams.h>#include <LibWeb/HTML/TokenizedFeatures.h>-#include <LibWeb/HTML/WindowType.h>#include <LibWeb/InvalidateDisplayList.h>#include <LibWeb/Page/EventHandler.h>#include <LibWeb/Painting/ScrollSnap.h>@@ -61,6 +60,7 @@#include <LibWebCommon/HTML/SandboxingFlagSet.h>#include <LibWebCommon/HTML/UserAgentInitiated.h>#include <LibWebCommon/HTML/VisibilityState.h>+#include <LibWebCommon/HTML/WindowType.h>#include <LibWebCommon/PixelUnits.h>namespace Web::Painting {diff --git a/Libraries/LibWeb/HTML/Window.h b/Libraries/LibWeb/HTML/Window.hindex 601c78b2d60..94d686c8e73 100644--- a/Libraries/LibWeb/HTML/Window.h+++ b/Libraries/LibWeb/HTML/Window.h@@ -31,9 +31,9 @@#include <LibWeb/HTML/StructuredSerialize.h>#include <LibWeb/HTML/WindowEventHandlers.h>#include <LibWeb/HTML/WindowOrWorkerGlobalScope.h>-#include <LibWeb/HTML/WindowType.h>#include <LibWeb/WebIDL/ExceptionOr.h>#include <LibWebCommon/HTML/UserActivationConsumption.h>+#include <LibWebCommon/HTML/WindowType.h>#include <LibWebCommon/WebIDL/Types.h>namespace Web::HTML {diff --git a/Libraries/LibWeb/HTML/WindowType.h b/Libraries/LibWebCommon/HTML/WindowType.hsimilarity index 100%rename from Libraries/LibWeb/HTML/WindowType.hrename to Libraries/LibWebCommon/HTML/WindowType.h