mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Move Window from DOM directory & namespace to HTML
The Window object is part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/window-object.html
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 17:48:56 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/1422bd45eb Pull-request: https://github.com/SerenityOS/serenity/pull/12936 Reviewed-by: https://github.com/awesomekling ✅
@@ -6,8 +6,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/Window.h>
|
||||
#include <LibWeb/HTML/Scripting/Environments.h>
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
@@ -24,9 +24,9 @@ public:
|
||||
virtual CanUseCrossOriginIsolatedAPIs cross_origin_isolated_capability() override;
|
||||
|
||||
private:
|
||||
WindowEnvironmentSettingsObject(DOM::Window&, JS::ExecutionContext& execution_context);
|
||||
WindowEnvironmentSettingsObject(Window&, JS::ExecutionContext& execution_context);
|
||||
|
||||
NonnullRefPtr<DOM::Window> m_window;
|
||||
NonnullRefPtr<Window> m_window;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user