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

LibWebView+WebConent: Add an IPC to get an element's enabled state

This commit is contained in:
Timothy Flynn 2022-11-03 13:30:11 -04:00 committed by Linus Groh
parent 9564f04fa6
commit 683c99f299
5 changed files with 31 additions and 0 deletions

View file

@ -565,6 +565,11 @@ Gfx::IntRect OutOfProcessWebView::get_element_rect(i32 element_id)
return client().get_element_rect(element_id);
}
bool OutOfProcessWebView::is_element_enabled(i32 element_id)
{
return client().is_element_enabled(element_id);
}
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
{
client().async_set_content_filters(filters);