1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +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

@ -75,6 +75,8 @@ public:
void set_window_position(Gfx::IntPoint const&);
void set_window_size(Gfx::IntSize const&);
Gfx::ShareableBitmap take_screenshot() const;
Function<void(Gfx::IntPoint const& screen_position)> on_context_menu_request;
Function<void(const AK::URL&, String const& target, unsigned modifiers)> on_link_click;
Function<void(const AK::URL&, Gfx::IntPoint const& screen_position)> on_link_context_menu_request;