2017-10-28 07:36:00 +00:00
|
|
|
Index: chrome/common/pref_names.cc
|
|
|
|
--- chrome/common/pref_names.cc.orig
|
|
|
|
+++ chrome/common/pref_names.cc
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -1249,7 +1249,7 @@ const char kUseAshProxy[] = "lacros.proxy.use_ash_prox
|
2015-05-03 15:35:35 +00:00
|
|
|
|
2021-07-06 11:13:48 +00:00
|
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
|
|
|
|
// of lacros-chrome is complete.
|
2022-03-28 10:49:12 +00:00
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
2015-05-03 15:35:35 +00:00
|
|
|
// Linux specific preference on whether we should match the system theme.
|
|
|
|
const char kUsesSystemTheme[] = "extensions.theme.use_system";
|
|
|
|
#endif
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -1348,7 +1348,7 @@ const char kShowUpdatePromotionInfoBar[] =
|
2016-10-27 18:30:40 +00:00
|
|
|
|
2021-07-06 11:13:48 +00:00
|
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
|
|
|
|
// of lacros-chrome is complete.
|
2022-03-28 10:49:12 +00:00
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
2016-10-27 18:30:40 +00:00
|
|
|
// 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";
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -1854,7 +1854,7 @@ const char kDownloadDirUpgraded[] = "download.director
|
|
|
|
const char kDownloadLastCompleteTime[] = "download.last_complete_time";
|
2015-05-03 15:35:35 +00:00
|
|
|
|
2022-03-28 10:49:12 +00:00
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
|
|
- BUILDFLAG(IS_MAC)
|
|
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
2015-05-03 15:35:35 +00:00
|
|
|
const char kOpenPdfDownloadInSystemReader[] =
|
|
|
|
"download.open_pdf_in_system_reader";
|
2016-04-27 12:46:16 +00:00
|
|
|
#endif
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -2151,7 +2151,7 @@ const char kWebAppsPreferences[] = "web_apps.web_app_i
|
2021-10-29 14:49:39 +00:00
|
|
|
// its isolation requirements.
|
|
|
|
const char kWebAppsIsolationState[] = "web_apps.isolation_state";
|
2021-07-06 11:13:48 +00:00
|
|
|
|
2022-03-28 10:49:12 +00:00
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
|
|
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
|
|
|
|
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
|
2021-07-06 11:13:48 +00:00
|
|
|
// Dictionary that maps origins to web apps that can act as URL handlers.
|
|
|
|
const char kWebAppsUrlHandlerInfo[] = "web_apps.url_handler_info";
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -2251,7 +2251,7 @@ const char kAmbientAuthenticationInPrivateModesEnabled
|
2021-04-01 10:24:43 +00:00
|
|
|
// requests.
|
|
|
|
const char kBasicAuthOverHttpEnabled[] = "auth.basic_over_http_enabled";
|
2019-11-10 13:37:48 +00:00
|
|
|
|
2022-03-28 10:49:12 +00:00
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
2019-11-10 13:37:48 +00:00
|
|
|
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
|
2021-04-01 10:24:43 +00:00
|
|
|
// along with kAuthNegotiateDelegateAllowlist.
|
2019-11-10 13:37:48 +00:00
|
|
|
const char kAuthNegotiateDelegateByKdcPolicy[] =
|
2022-10-05 08:59:45 +00:00
|
|
|
@@ -3275,7 +3275,7 @@ const char kBlockAutoplayEnabled[] = "media.block_auto
|
2021-12-28 15:49:54 +00:00
|
|
|
const char kSandboxExternalProtocolBlocked[] =
|
|
|
|
"profile.sandbox_external_protocol_blocked";
|
2021-07-06 11:13:48 +00:00
|
|
|
|
2022-03-28 10:49:12 +00:00
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
2022-10-05 08:59:45 +00:00
|
|
|
// Boolean that indicates if system notifications are allowed to be used in
|
|
|
|
// place of Chrome notifications.
|
|
|
|
const char kAllowSystemNotifications[] = "system_notifications.allowed";
|