mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
LibWebView+WebConent: Add an IPC to get an element's absolute rect
This commit is contained in:
committed by
Linus Groh
parent
77b6d0bf16
commit
995f3db384
@@ -560,6 +560,11 @@ String OutOfProcessWebView::get_element_tag_name(i32 element_id)
|
||||
return client().get_element_tag_name(element_id);
|
||||
}
|
||||
|
||||
Gfx::IntRect OutOfProcessWebView::get_element_rect(i32 element_id)
|
||||
{
|
||||
return client().get_element_rect(element_id);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
|
||||
{
|
||||
client().async_set_content_filters(filters);
|
||||
|
||||
Reference in New Issue
Block a user