mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
56 lines
2.9 KiB
C++
56 lines
2.9 KiB
C++
--- chrome/common/pref_names.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ chrome/common/pref_names.cc
|
|
@@ -1268,7 +1268,7 @@ const char kUseAshProxy[] = "lacros.proxy.use_ash_prox
|
|
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
|
// Linux specific preference on whether we should match the system theme.
|
|
const char kUsesSystemThemeDeprecated[] = "extensions.theme.use_system";
|
|
const char kSystemTheme[] = "extensions.theme.system_theme";
|
|
@@ -1382,7 +1382,7 @@ const char kShowUpdatePromotionInfoBar[] =
|
|
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
|
// Boolean that is false if we should show window manager decorations. If
|
|
// true, we draw a custom chrome frame (thicker title bar and blue border).
|
|
const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
|
|
@@ -1897,7 +1897,7 @@ const char kDownloadDirUpgraded[] = "download.director
|
|
const char kDownloadLastCompleteTime[] = "download.last_complete_time";
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_MAC)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
const char kOpenPdfDownloadInSystemReader[] =
|
|
"download.open_pdf_in_system_reader";
|
|
#endif
|
|
@@ -2207,7 +2207,7 @@ const char kWebAppsPreferences[] = "web_apps.web_app_i
|
|
// its isolation requirements.
|
|
const char kWebAppsIsolationState[] = "web_apps.isolation_state";
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
|
|
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
// Dictionary that maps origins to web apps that can act as URL handlers.
|
|
const char kWebAppsUrlHandlerInfo[] = "web_apps.url_handler_info";
|
|
@@ -2307,7 +2307,7 @@ const char kAmbientAuthenticationInPrivateModesEnabled
|
|
// requests.
|
|
const char kBasicAuthOverHttpEnabled[] = "auth.basic_over_http_enabled";
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
|
|
// along with kAuthNegotiateDelegateAllowlist.
|
|
const char kAuthNegotiateDelegateByKdcPolicy[] =
|
|
@@ -3336,7 +3336,7 @@ const char kBlockAutoplayEnabled[] = "media.block_auto
|
|
const char kSandboxExternalProtocolBlocked[] =
|
|
"profile.sandbox_external_protocol_blocked";
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// Boolean that indicates if system notifications are allowed to be used in
|
|
// place of Chrome notifications.
|
|
const char kAllowSystemNotifications[] = "system_notifications.allowed";
|