UI: Add an option to enable autoplay globally

This commit is contained in:
Tim Ledbetter 2024-09-22 23:12:36 +01:00 committed by Tim Ledbetter
commit 63632159ce
Notes: github-actions[bot] 2024-09-24 22:51:57 +00:00
18 changed files with 98 additions and 0 deletions

View file

@ -106,6 +106,11 @@ void WebViewBridge::enqueue_input_event(Web::KeyEvent event)
ViewImplementation::enqueue_input_event(move(event));
}
void WebViewBridge::set_enable_autoplay(bool enabled)
{
ViewImplementation::set_enable_autoplay(enabled);
}
Optional<WebViewBridge::Paintable> WebViewBridge::paintable()
{
Gfx::Bitmap* bitmap = nullptr;