1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +00:00

Browser: Propagate autoplay settings to the WebContent process

This commit is contained in:
Timothy Flynn 2023-04-17 13:37:36 -04:00 committed by Andreas Kling
parent 65283d6879
commit fed2606591
6 changed files with 62 additions and 1 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <AK/DeprecatedString.h>
#include <AK/String.h>
#include <Applications/Browser/IconBag.h>
namespace Browser {
@ -15,9 +16,11 @@ extern DeprecatedString g_home_url;
extern DeprecatedString g_new_tab_url;
extern DeprecatedString g_search_engine;
extern Vector<DeprecatedString> g_content_filters;
extern bool g_content_filters_enabled;
extern Vector<String> g_autoplay_allowlist;
extern bool g_autoplay_allowed_on_all_websites;
extern Vector<DeprecatedString> g_proxies;
extern HashMap<DeprecatedString, size_t> g_proxy_mappings;
extern bool g_content_filters_enabled;
extern IconBag g_icon_bag;
extern DeprecatedString g_webdriver_content_ipc_path;