LibWeb: Draw a speaker on media elements to toggle muting audio

This commit is contained in:
Timothy Flynn 2023-06-15 15:09:47 -04:00 committed by Andreas Kling
commit a4cb3b5d4d
Notes: sideshowbarker 2024-07-17 10:31:19 +09:00
4 changed files with 68 additions and 0 deletions

View file

@ -103,6 +103,7 @@ public:
Optional<CSSPixelRect> control_box_rect;
Optional<CSSPixelRect> playback_button_rect;
Optional<CSSPixelRect> timeline_rect;
Optional<CSSPixelRect> speaker_button_rect;
};
CachedLayoutBoxes& cached_layout_boxes(Badge<Painting::MediaPaintable>) const { return m_layout_boxes; }