mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +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
|
@ -339,6 +339,11 @@ Web::WebIDL::ExceptionOr<void> PageHost::toggle_media_play_state()
|
|||
return page().toggle_media_play_state();
|
||||
}
|
||||
|
||||
void PageHost::toggle_media_mute_state()
|
||||
{
|
||||
page().toggle_media_mute_state();
|
||||
}
|
||||
|
||||
Web::WebIDL::ExceptionOr<void> PageHost::toggle_media_loop_state()
|
||||
{
|
||||
return page().toggle_media_loop_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue