LibWebView+WebContent+UI: Migrate to the new autoplay settings

This removes the old autoplay allowlist file in favor of the new site
setting. We still support the command-line flag to enable autoplay
globally, as this is needed for WPT.
This commit is contained in:
Timothy Flynn 2025-03-29 08:19:00 -04:00 committed by Tim Ledbetter
commit ed265b568d
Notes: github-actions[bot] 2025-03-30 15:20:08 +00:00
20 changed files with 17 additions and 137 deletions

View file

@ -57,9 +57,6 @@ public:
bool enable_do_not_track();
void set_enable_do_not_track(bool enable);
bool enable_autoplay();
void set_enable_autoplay(bool enable);
bool show_menubar();
void set_show_menubar(bool show_menubar);
@ -67,7 +64,6 @@ signals:
void show_menubar_changed(bool show_menubar);
void preferred_languages_changed(QStringList const& languages);
void enable_do_not_track_changed(bool enable);
void enable_autoplay_changed(bool enable);
protected:
Settings();