summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ClientConnection.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-08-27 12:31:55 +0100
committerAndreas Kling <kling@serenityos.org>2021-09-02 22:16:41 +0200
commitf381f8d63e7935e629a13dcdc9dd689467323018 (patch)
treecb4ae74452ea6eaa4ff3896c3b488e7c661f32bf /Userland/Services/WebContent/ClientConnection.h
parente824454ab47e84c76af89dc29e4603a05af731bf (diff)
downloadserenity-f381f8d63e7935e629a13dcdc9dd689467323018.zip
LibWeb+WebContent: Add inspect_dom_node() IPC call
This is the IPC version of `Document::set_inspected_node()`, using a node ID. We return the inspected node's style properties as JSON, so that the DOM Inspector can immediately display them.
Diffstat (limited to 'Userland/Services/WebContent/ClientConnection.h')
-rw-r--r--Userland/Services/WebContent/ClientConnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/ClientConnection.h b/Userland/Services/WebContent/ClientConnection.h
index 64c2404ad2..99d39e8277 100644
--- a/Userland/Services/WebContent/ClientConnection.h
+++ b/Userland/Services/WebContent/ClientConnection.h
@@ -49,6 +49,7 @@ private:
virtual void debug_request(String const&, String const&) override;
virtual void get_source() override;
virtual void inspect_dom_tree() override;
+ virtual Messages::WebContentServer::InspectDomNodeResponse inspect_dom_node(i32) override;
virtual void js_console_initialize() override;
virtual void js_console_input(String const&) override;
virtual void run_javascript(String const&) override;