mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
UI: Add an option to enable autoplay globally
This commit is contained in:
parent
973f774e56
commit
63632159ce
Notes:
github-actions[bot]
2024-09-24 22:51:57 +00:00
Author: https://github.com/tcl3
Commit: 63632159ce
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1497
Reviewed-by: https://github.com/trflynn89
18 changed files with 98 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue