1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

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.
This commit is contained in:
Sam Atkins 2021-08-27 12:47:30 +01:00 committed by Andreas Kling
parent 1da07734bb
commit 3b07f49d48
7 changed files with 20 additions and 1 deletions

View file

@ -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;