mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +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
63 changed files with 133 additions and 133 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace Web::NavigationTiming {
|
||||
|
||||
PerformanceTiming::PerformanceTiming(DOM::Window& window)
|
||||
PerformanceTiming::PerformanceTiming(HTML::Window& window)
|
||||
: RefCountForwarder(window)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -9,18 +9,18 @@
|
|||
#include <AK/RefCountForwarder.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
#include <LibWeb/Bindings/Wrappable.h>
|
||||
#include <LibWeb/DOM/Window.h>
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
|
||||
namespace Web::NavigationTiming {
|
||||
|
||||
class PerformanceTiming final
|
||||
: public RefCountForwarder<DOM::Window>
|
||||
: public RefCountForwarder<HTML::Window>
|
||||
, public Bindings::Wrappable {
|
||||
public:
|
||||
using WrapperType = Bindings::PerformanceTimingWrapper;
|
||||
using AllowOwnPtr = TrueType;
|
||||
|
||||
explicit PerformanceTiming(DOM::Window&);
|
||||
explicit PerformanceTiming(HTML::Window&);
|
||||
~PerformanceTiming();
|
||||
|
||||
u32 navigation_start() { return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue