From 43f87c67f2a2d55f0b4dc8b088ef0882270e0c57 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 6 Sep 2022 13:54:21 +0200 Subject: [PATCH] LibWeb: Remove unused WindowObject.h --- .../Libraries/LibWeb/Bindings/WindowObject.h | 38 ------------------- .../Services/WebContent/ConsoleGlobalObject.h | 4 -- 2 files changed, 42 deletions(-) delete mode 100644 Userland/Libraries/LibWeb/Bindings/WindowObject.h diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.h b/Userland/Libraries/LibWeb/Bindings/WindowObject.h deleted file mode 100644 index ac4013b6d3..0000000000 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2020-2022, Andreas Kling - * Copyright (c) 2021, Sam Atkins - * Copyright (c) 2021-2022, Linus Groh - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace Web { -namespace Bindings { - -class WindowObject - : public JS::GlobalObject - , public Weakable { - JS_OBJECT(WindowObject, JS::GlobalObject); - -public: - explicit WindowObject(JS::Realm&, HTML::Window&); - virtual void initialize(JS::Realm&) override; - virtual ~WindowObject() override = default; -}; - -} -} diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.h b/Userland/Services/WebContent/ConsoleGlobalObject.h index 10e14b1cf9..8a875ae5d4 100644 --- a/Userland/Services/WebContent/ConsoleGlobalObject.h +++ b/Userland/Services/WebContent/ConsoleGlobalObject.h @@ -11,10 +11,6 @@ #include #include -namespace Web::Bindings { -class WindowObject; -} - namespace WebContent { class ConsoleGlobalObject final : public JS::GlobalObject {