mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00: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:
parent
2dfb617c5b
commit
1422bd45eb
Notes:
sideshowbarker
2024-07-17 17:48:56 +09:00
Author: https://github.com/linusg
Commit: 1422bd45eb
Pull-request: https://github.com/SerenityOS/serenity/pull/12936
Reviewed-by: https://github.com/awesomekling ✅
63 changed files with 133 additions and 133 deletions
|
@ -9,11 +9,11 @@
|
|||
#include <LibWeb/DOM/DocumentType.h>
|
||||
#include <LibWeb/DOM/Node.h>
|
||||
#include <LibWeb/DOM/Range.h>
|
||||
#include <LibWeb/DOM/Window.h>
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
|
||||
namespace Web::DOM {
|
||||
|
||||
NonnullRefPtr<Range> Range::create(Window& window)
|
||||
NonnullRefPtr<Range> Range::create(HTML::Window& window)
|
||||
{
|
||||
return Range::create(window.associated_document());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue