mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb+WebContent: Add query for hovered DOM node to OOPWV
This is needed for the "Inspect Element" context menu action.
This commit is contained in:
parent
3b07f49d48
commit
1ccf10789e
5 changed files with 18 additions and 0 deletions
|
@ -424,6 +424,11 @@ void OutOfProcessWebView::clear_inspected_dom_node()
|
|||
client().inspect_dom_node(0);
|
||||
}
|
||||
|
||||
i32 OutOfProcessWebView::get_hovered_node_id()
|
||||
{
|
||||
return client().get_hovered_node_id();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::js_console_initialize()
|
||||
{
|
||||
client().async_js_console_initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue