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

Ladybird+LibWeb+WebContent: Add context menu controls for muting audio

This commit is contained in:
Timothy Flynn 2023-06-16 11:29:54 -04:00 committed by Andreas Kling
parent b3bbdb1e2c
commit 9e95c9892c
16 changed files with 78 additions and 0 deletions

View file

@ -790,6 +790,11 @@ void ConnectionFromClient::toggle_media_play_state()
m_page_host->toggle_media_play_state().release_value_but_fixme_should_propagate_errors();
}
void ConnectionFromClient::toggle_media_mute_state()
{
m_page_host->toggle_media_mute_state();
}
void ConnectionFromClient::toggle_media_loop_state()
{
m_page_host->toggle_media_loop_state().release_value_but_fixme_should_propagate_errors();