1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:08:10 +00:00

LibWebView+WebContent: Add a WebContent IPC to add DOM attributes

This commit is contained in:
Timothy Flynn 2023-12-05 16:49:47 -05:00 committed by Andreas Kling
parent 2cdad0f068
commit 86d90f324d
5 changed files with 20 additions and 0 deletions

View file

@ -191,6 +191,11 @@ Optional<i32> ViewImplementation::set_dom_node_tag(i32 node_id, String name)
return client().set_dom_node_tag(node_id, move(name));
}
void ViewImplementation::add_dom_node_attributes(i32 node_id, Vector<Attribute> attributes)
{
client().async_add_dom_node_attributes(node_id, move(attributes));
}
void ViewImplementation::replace_dom_node_attribute(i32 node_id, String name, Vector<Attribute> replacement_attributes)
{
client().async_replace_dom_node_attribute(node_id, move(name), move(replacement_attributes));