mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibWebView+WebContent: Add a WebContent IPC to clone a DOM node
This commit is contained in:
parent
111e53a2f6
commit
c6a11a77b5
5 changed files with 20 additions and 0 deletions
|
@ -211,6 +211,11 @@ Optional<i32> ViewImplementation::create_child_text_node(i32 node_id)
|
|||
return client().create_child_text_node(node_id);
|
||||
}
|
||||
|
||||
Optional<i32> ViewImplementation::clone_dom_node(i32 node_id)
|
||||
{
|
||||
return client().clone_dom_node(node_id);
|
||||
}
|
||||
|
||||
void ViewImplementation::remove_dom_node(i32 node_id)
|
||||
{
|
||||
client().async_remove_dom_node(node_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue