mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:28:11 +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:
parent
1da07734bb
commit
3b07f49d48
7 changed files with 20 additions and 1 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
Function<void(DOM::Document*)> on_set_document;
|
||||
Function<void(const URL&, const String&)> on_get_source;
|
||||
Function<void(const String&)> on_get_dom_tree;
|
||||
Function<void(i32 node_id, String const& specified_style, String const& computed_style)> on_get_dom_node_properties;
|
||||
Function<void(const String& method, const String& line)> on_js_console_output;
|
||||
Function<String(const URL& url, Cookie::Source source)> on_get_cookie;
|
||||
Function<void(const URL& url, const Cookie::ParsedCookie& cookie, Cookie::Source source)> on_set_cookie;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue