1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +00:00

BrowserSettings: Add a tab to control the Browser's autoplay settings

This adds a checkbox to enable autoplay on all websites (disabled by
default) and a website list to enable autoplay on individual websites
(set to file:// URLs only by default).
This commit is contained in:
Timothy Flynn 2023-04-17 13:32:51 -04:00 committed by Andreas Kling
parent 7966fc4780
commit 65283d6879
8 changed files with 180 additions and 6 deletions

View file

@ -4,16 +4,19 @@ serenity_component(
TARGETS BrowserSettings
)
compile_gml(AutoplaySettingsWidget.gml AutoplaySettingsWidgetGML.h autoplay_settings_widget_gml)
compile_gml(BrowserSettingsWidget.gml BrowserSettingsWidgetGML.h browser_settings_widget_gml)
compile_gml(ContentFilterSettingsWidget.gml ContentFilterSettingsWidgetGML.h content_filter_settings_widget_gml)
set(SOURCES
AutoplaySettingsWidget.cpp
BrowserSettingsWidget.cpp
ContentFilterSettingsWidget.cpp
main.cpp
)
set(GENERATED_SOURCES
AutoplaySettingsWidgetGML.h
BrowserSettingsWidgetGML.h
ContentFilterSettingsWidgetGML.h
)