mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 22:22:55 +00:00
LibWebView+WebContent: Add a WebContent IPC to get a DOM node's HTML
This commit is contained in:
parent
8162dc5ee6
commit
bea11f6d99
Notes:
sideshowbarker
2024-07-17 05:13:53 +09:00
Author: https://github.com/trflynn89
Commit: bea11f6d99
Pull-request: https://github.com/SerenityOS/serenity/pull/22186
5 changed files with 22 additions and 0 deletions
|
@ -206,6 +206,11 @@ void ViewImplementation::remove_dom_node(i32 node_id)
|
|||
client().async_remove_dom_node(node_id);
|
||||
}
|
||||
|
||||
Optional<String> ViewImplementation::get_dom_node_html(i32 node_id)
|
||||
{
|
||||
return client().get_dom_node_html(node_id);
|
||||
}
|
||||
|
||||
void ViewImplementation::debug_request(DeprecatedString const& request, DeprecatedString const& argument)
|
||||
{
|
||||
client().async_debug_request(request, argument);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue