1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:24:58 +00:00

LibWebView+WebContent: Make the DOM node HTML retrieval IPC async

This commit is contained in:
Timothy Flynn 2023-12-30 14:32:50 -05:00 committed by Andreas Kling
parent c190294a76
commit 93db790974
9 changed files with 24 additions and 13 deletions

View file

@ -225,6 +225,12 @@ void WebContentClient::did_finish_editing_dom_node(Optional<i32> const& node_id)
m_view.on_finshed_editing_dom_node(node_id);
}
void WebContentClient::did_get_dom_node_html(String const& html)
{
if (m_view.on_received_dom_node_html)
m_view.on_received_dom_node_html(html);
}
void WebContentClient::did_output_js_console_message(i32 message_index)
{
if (m_view.on_received_console_message)