1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibWebView+WebContent: Make the hovered node retrieval IPC async

This commit is contained in:
Timothy Flynn 2023-12-30 09:42:24 -05:00 committed by Andreas Kling
parent 760ba5932b
commit 1eba170d03
9 changed files with 26 additions and 12 deletions

View file

@ -146,9 +146,9 @@ void ViewImplementation::clear_inspected_dom_node()
inspect_dom_node(0, {});
}
i32 ViewImplementation::get_hovered_node_id()
void ViewImplementation::get_hovered_node_id()
{
return client().get_hovered_node_id();
client().async_get_hovered_node_id();
}
void ViewImplementation::set_dom_node_text(i32 node_id, String text)