mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Ladybird+LibWeb+WebContent: Add context menu controls for muting audio
This commit is contained in:
parent
b3bbdb1e2c
commit
9e95c9892c
16 changed files with 78 additions and 0 deletions
|
@ -125,11 +125,13 @@ public:
|
|||
AK::URL media_url;
|
||||
bool is_video { false };
|
||||
bool is_playing { false };
|
||||
bool is_muted { false };
|
||||
bool has_user_agent_controls { false };
|
||||
bool is_looping { false };
|
||||
};
|
||||
void did_request_media_context_menu(i32 media_id, CSSPixelPoint, DeprecatedString const& target, unsigned modifiers, MediaContextMenu);
|
||||
WebIDL::ExceptionOr<void> toggle_media_play_state();
|
||||
void toggle_media_mute_state();
|
||||
WebIDL::ExceptionOr<void> toggle_media_loop_state();
|
||||
WebIDL::ExceptionOr<void> toggle_media_controls_state();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue