summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-08 22:59:15 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-08 23:00:49 +0200
commit3c0b55c284ba2a7e64a0c311f96cf3f3b9bcc14a (patch)
tree1e7c8412d96d41f0495649bcf35cb17087f9a743 /Userland/Libraries/LibWeb/Bindings
parent77f72c7cfeba83994815cd6aee859ea6336cb130 (diff)
downloadserenity-3c0b55c284ba2a7e64a0c311f96cf3f3b9bcc14a.zip
LibWeb: Add DOMRectReadOnly and make DOMRect inherit from it
This matches the class hierarchy of the CSS Geometry Interfaces Module.
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h b/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h
index 2ecdfbb0fb..f089d25632 100644
--- a/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h
+++ b/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h
@@ -40,6 +40,10 @@
#include <LibWeb/Bindings/DOMImplementationPrototype.h>
#include <LibWeb/Bindings/DOMParserConstructor.h>
#include <LibWeb/Bindings/DOMParserPrototype.h>
+#include <LibWeb/Bindings/DOMRectConstructor.h>
+#include <LibWeb/Bindings/DOMRectPrototype.h>
+#include <LibWeb/Bindings/DOMRectReadOnlyConstructor.h>
+#include <LibWeb/Bindings/DOMRectReadOnlyPrototype.h>
#include <LibWeb/Bindings/DOMStringMapConstructor.h>
#include <LibWeb/Bindings/DOMStringMapPrototype.h>
#include <LibWeb/Bindings/DocumentConstructor.h>
@@ -294,6 +298,8 @@
ADD_WINDOW_OBJECT_INTERFACE(DOMException) \
ADD_WINDOW_OBJECT_INTERFACE(DOMImplementation) \
ADD_WINDOW_OBJECT_INTERFACE(DOMParser) \
+ ADD_WINDOW_OBJECT_INTERFACE(DOMRect) \
+ ADD_WINDOW_OBJECT_INTERFACE(DOMRectReadOnly) \
ADD_WINDOW_OBJECT_INTERFACE(DOMStringMap) \
ADD_WINDOW_OBJECT_INTERFACE(Element) \
ADD_WINDOW_OBJECT_INTERFACE(Event) \