mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
29 lines
1.3 KiB
C++
29 lines
1.3 KiB
C++
--- ui/base/ui_base_features.cc.orig 2024-08-14 20:56:04 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 @@ BASE_FEATURE(kEyeDropper,
|
|
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
|