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:
parent
819598aecf
commit
d603585802
4 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue