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
commit 683c99f299
Notes: sideshowbarker 2024-07-17 04:49:09 +09:00
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);