summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/OutOfProcessWebView.cpp')
-rw-r--r--Userland/Libraries/LibWeb/OutOfProcessWebView.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp b/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp
index e84be38764..3c64233791 100644
--- a/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp
+++ b/Userland/Libraries/LibWeb/OutOfProcessWebView.cpp
@@ -335,6 +335,12 @@ void OutOfProcessWebView::notify_server_did_get_source(const URL& url, const Str
on_get_source(url, source);
}
+void OutOfProcessWebView::notify_server_did_get_dom_tree(const String& dom_tree)
+{
+ if (on_get_dom_tree)
+ on_get_dom_tree(dom_tree);
+}
+
void OutOfProcessWebView::notify_server_did_js_console_output(const String& method, const String& line)
{
if (on_js_console_output)
@@ -391,6 +397,11 @@ void OutOfProcessWebView::get_source()
client().async_get_source();
}
+void OutOfProcessWebView::inspect_dom_tree()
+{
+ client().async_inspect_dom_tree();
+}
+
void OutOfProcessWebView::js_console_initialize()
{
client().async_js_console_initialize();