mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 00:47:45 +00:00
Ladybird: Add screenshot actions to the page context menu
Browser on Serenity has these actions already.
This commit is contained in:
parent
374284d0d8
commit
b0edc7b6e4
4 changed files with 74 additions and 0 deletions
|
@ -60,6 +60,12 @@ private:
|
|||
void open_link_in_new_tab(URL const&);
|
||||
void copy_link_url(URL const&);
|
||||
|
||||
enum class ScreenshotType {
|
||||
Visible,
|
||||
Full,
|
||||
};
|
||||
ErrorOr<void> take_screenshot(ScreenshotType);
|
||||
|
||||
QBoxLayout* m_layout;
|
||||
QToolBar* m_toolbar { nullptr };
|
||||
QToolButton* m_reset_zoom_button { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue