mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
LibWebView: Add autoplay settings to about:settings
The idea with the UI here is that it will serve as a generic component for all site settings, such as autoplay, notifications, etc. When the site settings dialog is opened, it is filled with the requested setting data, and messages sent to the browser process are based on the setting. This patch only implements the UI and persisted settings. It does not apply autoplay changes to the WebContent process.
This commit is contained in:
parent
c7979a8bd6
commit
223b04f087
Notes:
github-actions[bot]
2025-03-30 15:20:14 +00:00
Author: https://github.com/trflynn89
Commit: 223b04f087
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4146
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 614 additions and 10 deletions
|
@ -21,6 +21,11 @@ private:
|
|||
void set_new_tab_page_url(JsonValue const&);
|
||||
void load_available_search_engines();
|
||||
void set_search_engine(JsonValue const&);
|
||||
void load_forcibly_enabled_site_settings();
|
||||
void set_site_setting_enabled_globally(JsonValue const&);
|
||||
void add_site_setting_filter(JsonValue const&);
|
||||
void remove_site_setting_filter(JsonValue const&);
|
||||
void remove_all_site_setting_filters(JsonValue const&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue