mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibWeb: Remove unused WindowObject.h
This commit is contained in:
parent
1ab510c4bb
commit
43f87c67f2
2 changed files with 0 additions and 42 deletions
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/TypeCasts.h>
|
||||
#include <AK/Variant.h>
|
||||
#include <AK/Weakable.h>
|
||||
#include <LibJS/Runtime/Completion.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibWeb/Bindings/CallbackType.h>
|
||||
#include <LibWeb/Bindings/CrossOriginAbstractOperations.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/HTML/GlobalEventHandlers.h>
|
||||
#include <LibWeb/HTML/Origin.h>
|
||||
#include <LibWeb/HTML/WindowEventHandlers.h>
|
||||
|
||||
namespace Web {
|
||||
namespace Bindings {
|
||||
|
||||
class WindowObject
|
||||
: public JS::GlobalObject
|
||||
, public Weakable<WindowObject> {
|
||||
JS_OBJECT(WindowObject, JS::GlobalObject);
|
||||
|
||||
public:
|
||||
explicit WindowObject(JS::Realm&, HTML::Window&);
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual ~WindowObject() override = default;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
|
@ -11,10 +11,6 @@
|
|||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
|
||||
namespace Web::Bindings {
|
||||
class WindowObject;
|
||||
}
|
||||
|
||||
namespace WebContent {
|
||||
|
||||
class ConsoleGlobalObject final : public JS::GlobalObject {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue