1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

LibWebView+WebContent: Add WebContent IPC to create children DOM nodes

This adds IPC to create append a child <div> element or a text node to
a DOM node.
This commit is contained in:
Timothy Flynn 2023-12-07 11:00:57 -05:00 committed by Andreas Kling
parent bb217fb0d7
commit 111e53a2f6
5 changed files with 41 additions and 0 deletions

View file

@ -80,6 +80,8 @@ private:
virtual Messages::WebContentServer::SetDomNodeTagResponse set_dom_node_tag(i32 node_id, String const& name) override;
virtual void add_dom_node_attributes(i32 node_id, Vector<WebView::Attribute> const& attributes) override;
virtual void replace_dom_node_attribute(i32 node_id, String const& name, Vector<WebView::Attribute> const& replacement_attributes) override;
virtual Messages::WebContentServer::CreateChildElementResponse create_child_element(i32 node_id) override;
virtual Messages::WebContentServer::CreateChildTextNodeResponse create_child_text_node(i32 node_id) override;
virtual void remove_dom_node(i32 node_id) override;
virtual Messages::WebContentServer::GetDomNodeHtmlResponse get_dom_node_html(i32 node_id) override;