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:
parent
c190294a76
commit
93db790974
9 changed files with 24 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue