summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebContentClient.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-08-27 12:47:30 +0100
committerAndreas Kling <kling@serenityos.org>2021-09-02 22:16:41 +0200
commit3b07f49d48de28e9fade90e953343e19d16ffe41 (patch)
tree4b0943eee06f9845cd8ee42e8896dab908b570ca /Userland/Libraries/LibWeb/WebContentClient.h
parent1da07734bb046d6540831e73af87dac867afe308 (diff)
downloadserenity-3b07f49d48de28e9fade90e953343e19d16ffe41.zip
LibWeb+WebContent: Implement asynchronous DOM Node properties call
This lets us "push" a new style-properties list to the DOM Inspector, for example when JS changes the style of the inspected node.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.h')
-rw-r--r--Userland/Libraries/LibWeb/WebContentClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.h b/Userland/Libraries/LibWeb/WebContentClient.h
index 60e89d1127..309f3f43d5 100644
--- a/Userland/Libraries/LibWeb/WebContentClient.h
+++ b/Userland/Libraries/LibWeb/WebContentClient.h
@@ -50,6 +50,7 @@ private:
virtual void did_request_image_context_menu(Gfx::IntPoint const&, URL const&, String const&, unsigned, Gfx::ShareableBitmap const&) override;
virtual void did_get_source(URL const&, String const&) override;
virtual void did_get_dom_tree(String const&) override;
+ virtual void did_get_dom_node_properties(i32 node_id, String const& specified_style, String const& computed_style) override;
virtual void did_js_console_output(String const&, String const&) override;
virtual void did_change_favicon(Gfx::ShareableBitmap const&) override;
virtual void did_request_alert(String const&) override;