1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +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

@ -48,6 +48,7 @@ endpoint WebContentServer
set_dom_node_text(i32 node_id, String text) =|
set_dom_node_tag(i32 node_id, String name) => (Optional<i32> node_id)
add_dom_node_attributes(i32 node_id, Vector<WebView::Attribute> attributes) =|
replace_dom_node_attribute(i32 node_id, String name, Vector<WebView::Attribute> replacement_attributes) =|
take_document_screenshot() => (Gfx::ShareableBitmap data)