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:
parent
77b6d0bf16
commit
995f3db384
5 changed files with 40 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue