1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

Ladybird: Add screenshot actions to the page context menu

Browser on Serenity has these actions already.
This commit is contained in:
Timothy Flynn 2023-05-16 07:56:12 -04:00 committed by Andreas Kling
parent 374284d0d8
commit b0edc7b6e4
4 changed files with 74 additions and 0 deletions

View file

@ -113,6 +113,9 @@ public:
Gfx::IntPoint to_content(Gfx::IntPoint) const;
Gfx::IntPoint to_widget(Gfx::IntPoint) const;
Gfx::ShareableBitmap take_screenshot() const;
Gfx::ShareableBitmap take_document_screenshot();
enum class PaletteMode {
Default,
Dark,