LibWeb: Extract media element timeline painting to a base class

This moves the painting of the media timeout out of VideoPaintable into
a base MediaPaintable. This is to allow re-using the same timeline logic
and controls for audio elements.
This commit is contained in:
Timothy Flynn 2023-06-12 08:21:35 -04:00 committed by Andreas Kling
commit ee48d7514f
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00
8 changed files with 314 additions and 240 deletions

View file

@ -485,6 +485,7 @@ namespace Web::Painting {
class ButtonPaintable;
class CheckBoxPaintable;
class LabelablePaintable;
class MediaPaintable;
class Paintable;
class PaintableBox;
class PaintableWithLines;