mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWebView+WebContent: Add an IPC to take a full document screenshot
This commit is contained in:
parent
59b1dfa4e5
commit
95e591b61b
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/trflynn89
Commit: 95e591b61b
Pull-request: https://github.com/SerenityOS/serenity/pull/15934
5 changed files with 22 additions and 0 deletions
|
@ -622,6 +622,11 @@ Gfx::ShareableBitmap OutOfProcessWebView::take_element_screenshot(i32 element_id
|
|||
return client().take_element_screenshot(element_id);
|
||||
}
|
||||
|
||||
Gfx::ShareableBitmap OutOfProcessWebView::take_document_screenshot()
|
||||
{
|
||||
return client().take_document_screenshot();
|
||||
}
|
||||
|
||||
Messages::WebContentServer::WebdriverExecuteScriptResponse OutOfProcessWebView::webdriver_execute_script(String const& body, Vector<String> const& json_arguments, Optional<u64> const& timeout, bool async)
|
||||
{
|
||||
return client().webdriver_execute_script(body, json_arguments, timeout, async);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue