WebContent+Friends: Add get_element_attribute IPC and plumbing

This commit is contained in:
Tobias Christiansen 2022-10-19 16:56:08 +02:00 committed by Linus Groh
commit 3f5a620b5d
Notes: sideshowbarker 2024-07-17 06:00:02 +09:00
7 changed files with 30 additions and 0 deletions

View file

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