mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
WebContent+Friends: Add get_element_property IPC and plumbing
This commit is contained in:
parent
6641c99c80
commit
3db92885cd
7 changed files with 40 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -61,6 +61,7 @@ public:
|
|||
Optional<i32> get_document_element();
|
||||
Optional<Vector<i32>> query_selector_all(i32 start_node_id, String const& selector);
|
||||
Optional<String> get_element_attribute(i32 element_id, String const& name);
|
||||
Optional<String> get_element_property(i32 element_id, String const& name);
|
||||
|
||||
void set_content_filters(Vector<String>);
|
||||
void set_proxy_mappings(Vector<String> proxies, HashMap<String, size_t> mappings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue