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:
parent
2cdad0f068
commit
86d90f324d
5 changed files with 20 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue