1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 00:47:45 +00:00

Ladybird: Add a context menu for image elements

This commit is contained in:
Timothy Flynn 2023-05-15 13:43:58 -04:00 committed by Andreas Kling
parent 0d1b5e7f7a
commit e30dcc7391
3 changed files with 62 additions and 4 deletions

View file

@ -76,6 +76,10 @@ private:
OwnPtr<QMenu> m_link_context_menu;
URL m_link_context_menu_url;
OwnPtr<QMenu> m_image_context_menu;
Gfx::ShareableBitmap m_image_context_menu_bitmap;
URL m_image_context_menu_url;
OwnPtr<QMenu> m_video_context_menu;
OwnPtr<QIcon> m_video_context_menu_play_icon;
OwnPtr<QIcon> m_video_context_menu_pause_icon;