1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

LibWebView+WebContent: Add a WebContent IPC to clone a DOM node

This commit is contained in:
Timothy Flynn 2023-12-07 11:12:43 -05:00 committed by Andreas Kling
parent 111e53a2f6
commit c6a11a77b5
5 changed files with 20 additions and 0 deletions

View file

@ -52,6 +52,7 @@ endpoint WebContentServer
replace_dom_node_attribute(i32 node_id, String name, Vector<WebView::Attribute> replacement_attributes) =|
create_child_element(i32 node_id) => (Optional<i32> node_id)
create_child_text_node(i32 node_id) => (Optional<i32> node_id)
clone_dom_node(i32 node_id) => (Optional<i32> node_id)
remove_dom_node(i32 node_id) =|
get_dom_node_html(i32 node_id) => (Optional<String> html)