mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 19:13:27 -04:00
29 lines
1.3 KiB
C++
29 lines
1.3 KiB
C++
--- ui/base/ui_base_features.cc.orig 2024-08-26 12:06:38 UTC
|
|
+++ ui/base/ui_base_features.cc
|
|
@@ -157,7 +157,7 @@ BASE_FEATURE(kWaylandPerSurfaceScale,
|
|
base::FEATURE_DISABLED_BY_DEFAULT);
|
|
#endif // BUILDFLAG(IS_OZONE)
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// If this feature is enabled, users not specify --ozone-platform-hint switch
|
|
// will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220.
|
|
COMPONENT_EXPORT(UI_BASE_FEATURES)
|
|
@@ -259,7 +259,7 @@ BASE_FEATURE(kExperimentalFlingAnimation,
|
|
"ExperimentalFlingAnimation",
|
|
// TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_WIN) || \
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) || \
|
|
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \
|
|
!BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
base::FEATURE_ENABLED_BY_DEFAULT
|
|
@@ -363,7 +363,7 @@ bool IsForcedColorsEnabled() {
|
|
BASE_FEATURE(kEyeDropper,
|
|
"EyeDropper",
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS)
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
base::FEATURE_ENABLED_BY_DEFAULT
|
|
#else
|
|
base::FEATURE_DISABLED_BY_DEFAULT
|