mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibWebView+WebContent: Make the DOM node HTML retrieval IPC async
This commit is contained in:
parent
c190294a76
commit
93db790974
9 changed files with 24 additions and 13 deletions
|
@ -72,7 +72,7 @@ public:
|
|||
void create_child_text_node(i32 node_id);
|
||||
void clone_dom_node(i32 node_id);
|
||||
void remove_dom_node(i32 node_id);
|
||||
Optional<String> get_dom_node_html(i32 node_id);
|
||||
void get_dom_node_html(i32 node_id);
|
||||
|
||||
void debug_request(ByteString const& request, ByteString const& argument = {});
|
||||
|
||||
|
@ -145,6 +145,7 @@ public:
|
|||
Function<void(ByteString const&)> on_received_accessibility_tree;
|
||||
Function<void(i32 node_id)> on_received_hovered_node_id;
|
||||
Function<void(Optional<i32> const& node_id)> on_finshed_editing_dom_node;
|
||||
Function<void(String const&)> on_received_dom_node_html;
|
||||
Function<void(i32 message_id)> on_received_console_message;
|
||||
Function<void(i32 start_index, Vector<ByteString> const& message_types, Vector<ByteString> const& messages)> on_received_console_messages;
|
||||
Function<Vector<Web::Cookie::Cookie>(AK::URL const& url)> on_get_all_cookies;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue