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

LibWebView+WebConent: Add an IPC to get an element's absolute rect

This commit is contained in:
Timothy Flynn 2022-11-03 12:51:44 -04:00 committed by Linus Groh
parent 77b6d0bf16
commit 995f3db384
5 changed files with 40 additions and 0 deletions

View file

@ -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);