1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00

LibWebView+WebContent: Add a WebContent IPC to take DOM node screenshots

This commit is contained in:
Timothy Flynn 2023-12-06 11:51:44 -05:00 committed by Andreas Kling
parent a7b98a9761
commit f7de1369d2
5 changed files with 40 additions and 9 deletions

View file

@ -91,6 +91,7 @@ public:
Full,
};
ErrorOr<void> take_screenshot(ScreenshotType);
ErrorOr<void> take_dom_node_screenshot(i32);
void set_user_style_sheet(String source);
// Load Native.css as the User style sheet, which attempts to make WebView content look as close to