diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-09 14:37:48 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-09 16:43:55 +0100 |
commit | acbdb95b0a7a9eaf5625a6819cc06aa8c44ba53e (patch) | |
tree | 37f9babbc5d283c506ea86804df825900f888b29 /Userland/Libraries/LibWeb/Forward.h | |
parent | fabcee016f42f7d56d76496b2a86d7e28ba5b385 (diff) | |
download | serenity-acbdb95b0a7a9eaf5625a6819cc06aa8c44ba53e.zip |
LibWeb: Add support for DOM's TreeWalker
This patch adds TreeWalker (created via Document.createTreeWalker())
which allows you to traverse a filtered view of the DOM in all
directions.
Diffstat (limited to 'Userland/Libraries/LibWeb/Forward.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Forward.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h index f64a3ad00a..3e39a26ffe 100644 --- a/Userland/Libraries/LibWeb/Forward.h +++ b/Userland/Libraries/LibWeb/Forward.h @@ -121,6 +121,7 @@ class ShadowRoot; class StaticNodeList; class StaticRange; class Text; +class TreeWalker; enum class QuirksMode; struct EventListenerOptions; struct AddEventListenerOptions; @@ -508,6 +509,7 @@ class TextDecoderWrapper; class TextEncoderWrapper; class TextMetricsWrapper; class TextWrapper; +class TreeWalkerWrapper; class UIEventWrapper; class URLConstructor; class URLPrototype; |