2023-08-16 22:26:55 +00:00
|
|
|
Index: chrome/common/pref_names.cc
|
|
|
|
--- chrome/common/pref_names.cc.orig
|
|
|
|
+++ chrome/common/pref_names.cc
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -1207,7 +1207,7 @@ const char kUseAshProxy[] = "lacros.proxy.use_ash_prox
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
// 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";
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -1319,7 +1319,7 @@ const char kShowUpdatePromotionInfoBar[] =
|
2023-08-16 22:26:55 +00:00
|
|
|
"browser.show_update_promotion_info_bar";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
|
|
+#if BUILDFLAG(IS_LINUX) || 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";
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -1837,7 +1837,7 @@ const char kDownloadDirUpgraded[] = "download.director
|
2023-08-16 22:26:55 +00:00
|
|
|
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
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -2285,7 +2285,7 @@ const char kAmbientAuthenticationInPrivateModesEnabled
|
2023-08-16 22:26:55 +00:00
|
|
|
// 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[] =
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -3296,7 +3296,7 @@ const char kFileOrDirectoryPickerWithoutGestureAllowed
|
2023-08-16 22:26:55 +00:00
|
|
|
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";
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -3349,7 +3349,7 @@ const char kCACertificateManagementAllowed[] =
|
2023-08-16 22:26:55 +00:00
|
|
|
const char kChromeRootStoreEnabled[] = "chrome_root_store_enabled";
|
|
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
|
|
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
|
|
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
|
|
|
|
const char kEnforceLocalAnchorConstraintsEnabled[] =
|
|
|
|
"enforce_local_anchor_constraints_enabled";
|
|
|
|
#endif
|
2023-08-28 01:43:33 +00:00
|
|
|
@@ -3663,7 +3663,7 @@ const char kThrottleNonVisibleCrossOriginIframesAllowe
|
2023-08-16 22:26:55 +00:00
|
|
|
const char kNewBaseUrlInheritanceBehaviorAllowed[] =
|
|
|
|
"new_base_url_inheritance_behavior_allowed";
|
|
|
|
|
|
|
|
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
|
|
|
|
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
|
|
// If this exists and is true, Chrome may run system DNS resolution out of the
|
|
|
|
// network process. If false, Chrome will run system DNS resolution in the
|
|
|
|
// network process. If non-existent, Chrome will decide where to run system DNS
|