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

Browser: Add a context menu for video elements

This includes actions such as controlling play state, downloading the
video, and opening the video in a new tab.
This commit is contained in:
Timothy Flynn 2023-05-15 10:00:07 -04:00 committed by Andreas Kling
parent c82f678fc6
commit 1df0a141af
4 changed files with 61 additions and 0 deletions

View file

@ -17,6 +17,7 @@ struct IconBag final {
RefPtr<Gfx::Bitmap> filetype_text { nullptr };
RefPtr<Gfx::Bitmap> filetype_javascript { nullptr };
RefPtr<Gfx::Bitmap> filetype_image { nullptr };
RefPtr<Gfx::Bitmap> filetype_video { nullptr };
RefPtr<Gfx::Bitmap> bookmark_contour { nullptr };
RefPtr<Gfx::Bitmap> bookmark_filled { nullptr };
RefPtr<Gfx::Bitmap> inspector_object { nullptr };
@ -44,5 +45,7 @@ struct IconBag final {
RefPtr<Gfx::Bitmap> download { nullptr };
RefPtr<Gfx::Bitmap> copy { nullptr };
RefPtr<Gfx::Bitmap> rename { nullptr };
RefPtr<Gfx::Bitmap> play { nullptr };
RefPtr<Gfx::Bitmap> pause { nullptr };
};
}