1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:35:07 +00:00

WebContent+Friends: Add get_element_property IPC and plumbing

This commit is contained in:
Tobias Christiansen 2022-10-19 20:45:25 +02:00 committed by Linus Groh
parent 6641c99c80
commit 3db92885cd
7 changed files with 40 additions and 0 deletions

View file

@ -530,6 +530,11 @@ Optional<String> OutOfProcessWebView::get_element_attribute(i32 element_id, Stri
return client().get_element_attribute(element_id, name);
}
Optional<String> OutOfProcessWebView::get_element_property(i32 element_id, String const& name)
{
return client().get_element_property(element_id, name);
}
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
{
client().async_set_content_filters(filters);