mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWebView+WebContent: Make the DOM node HTML retrieval IPC async
This commit is contained in:
committed by
Andreas Kling
parent
c190294a76
commit
93db790974
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user