mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -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/
128 lines
5.9 KiB
C++
128 lines
5.9 KiB
C++
--- chrome/browser/about_flags.cc.orig 2022-11-30 08:12:58 UTC
|
|
+++ chrome/browser/about_flags.cc
|
|
@@ -215,7 +215,7 @@
|
|
#include "ui/native_theme/native_theme_features.h"
|
|
#include "ui/ui_features.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include "base/allocator/buildflags.h"
|
|
#endif
|
|
|
|
@@ -291,7 +291,7 @@
|
|
#include "chrome/browser/supervised_user/supervised_user_features/supervised_user_features.h" // nogncheck
|
|
#endif // ENABLE_SUPERVISED_USERS
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
#include "ui/ozone/buildflags.h"
|
|
#include "ui/ozone/public/ozone_switches.h"
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
|
|
@@ -398,7 +398,7 @@ const FeatureEntry::FeatureVariation kDXGIWaitableSwap
|
|
{"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}};
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = {
|
|
{flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""},
|
|
{flag_descriptions::kOzonePlatformHintChoiceAuto,
|
|
@@ -1322,7 +1322,7 @@ const FeatureEntry::FeatureVariation
|
|
};
|
|
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
|
|
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
const FeatureEntry::FeatureParam kOmniboxDocumentProviderServerScoring[] = {
|
|
{"DocumentUseServerScore", "true"},
|
|
{"DocumentUseClientScore", "false"},
|
|
@@ -4182,7 +4182,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
FEATURE_VALUE_TYPE(base::kOneGroupPerRenderer)},
|
|
#endif // BUILDFLAG(IS_CHROMEOS)
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
{
|
|
"enable-accelerated-video-decode",
|
|
flag_descriptions::kAcceleratedVideoDecodeName,
|
|
@@ -4784,7 +4784,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
FEATURE_VALUE_TYPE(features::kWebShare)},
|
|
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
{"ozone-platform-hint", flag_descriptions::kOzonePlatformHintName,
|
|
flag_descriptions::kOzonePlatformHintDescription, kOsLinux,
|
|
MULTI_VALUE_TYPE(kOzonePlatformHintRuntimeChoices)},
|
|
@@ -4803,7 +4803,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
password_manager::features::kForceInitialSyncWhenDecryptionFails)},
|
|
#endif // BUILDFLAG(IS_LINUX)
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
{"skip-undecryptable-passwords",
|
|
flag_descriptions::kSkipUndecryptablePasswordsName,
|
|
flag_descriptions::kSkipUndecryptablePasswordsDescription,
|
|
@@ -5063,7 +5063,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
FEATURE_VALUE_TYPE(feed::kDiscoFeedEndpoint)},
|
|
#endif // BUILDFLAG(IS_ANDROID)
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
|
|
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
{"following-feed-sidepanel", flag_descriptions::kFollowingFeedSidepanelName,
|
|
flag_descriptions::kFollowingFeedSidepanelDescription, kOsDesktop,
|
|
FEATURE_VALUE_TYPE(feed::kWebUiFeed)},
|
|
@@ -5633,7 +5633,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
FEATURE_VALUE_TYPE(omnibox::kZeroSuggestInMemoryCaching)},
|
|
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
|
|
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
{"omnibox-experimental-keyword-mode",
|
|
flag_descriptions::kOmniboxExperimentalKeywordModeName,
|
|
flag_descriptions::kOmniboxExperimentalKeywordModeDescription, kOsDesktop,
|
|
@@ -6213,7 +6213,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
flag_descriptions::kPointerLockOptionsDescription, kOsDesktop,
|
|
FEATURE_VALUE_TYPE(features::kPointerLockOptions)},
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
{"enable-async-dns", flag_descriptions::kAsyncDnsName,
|
|
flag_descriptions::kAsyncDnsDescription, kOsWin | kOsLinux,
|
|
FEATURE_VALUE_TYPE(features::kAsyncDns)},
|
|
@@ -7186,7 +7186,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
#endif // BUILDFLAG(IS_CHROMEOS)
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
{"global-media-controls-modern-ui",
|
|
flag_descriptions::kGlobalMediaControlsModernUIName,
|
|
flag_descriptions::kGlobalMediaControlsModernUIDescription,
|
|
@@ -8059,7 +8059,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
{"quick-commands", flag_descriptions::kQuickCommandsName,
|
|
flag_descriptions::kQuickCommandsDescription, kOsDesktop,
|
|
FEATURE_VALUE_TYPE(features::kQuickCommands)},
|
|
@@ -8350,7 +8350,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
|
|
#if BUILDFLAG(IS_WIN) || \
|
|
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || \
|
|
- BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
{
|
|
"ui-debug-tools",
|
|
flag_descriptions::kUIDebugToolsName,
|
|
@@ -8968,7 +8968,7 @@ const FeatureEntry kFeatureEntries[] = {
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
|
|
- BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
{"document-picture-in-picture-api",
|
|
flag_descriptions::kDocumentPictureInPictureApiName,
|
|
flag_descriptions::kDocumentPictureInPictureApiDescription,
|