1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

Browser+LibWebView: Add a Tab hook to take a screenshot

This commit is contained in:
Timothy Flynn 2022-11-02 12:58:22 -04:00 committed by Linus Groh
parent 819598aecf
commit d603585802
4 changed files with 14 additions and 0 deletions

View file

@ -72,6 +72,7 @@ public:
Function<Vector<Web::Cookie::Cookie>()> on_get_cookies_entries;
Function<OrderedHashMap<String, String>()> on_get_local_storage_entries;
Function<OrderedHashMap<String, String>()> on_get_session_storage_entries;
Function<Gfx::ShareableBitmap()> on_take_screenshot;
WebDriverEndpoints& webdriver_endpoints() { return m_webdriver_endpoints; }