1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

LibWebView+WebContent: Add an IPC to take a full document screenshot

This commit is contained in:
Timothy Flynn 2022-11-05 00:09:41 -04:00 committed by Andreas Kling
parent 59b1dfa4e5
commit 95e591b61b
Notes: sideshowbarker 2024-07-17 18:38:54 +09:00
5 changed files with 22 additions and 0 deletions

View file

@ -86,6 +86,7 @@ public:
Gfx::ShareableBitmap take_screenshot() const;
Gfx::ShareableBitmap take_element_screenshot(i32 element_id);
Gfx::ShareableBitmap take_document_screenshot();
Messages::WebContentServer::WebdriverExecuteScriptResponse webdriver_execute_script(String const& body, Vector<String> const& json_arguments, Optional<u64> const& timeout, bool async);