aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h')
-rw-r--r--www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
index f708bcbff660..551d8502a2aa 100644
--- a/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
+++ b/www/ungoogled-chromium/files/patch-ui_base_ui__base__switches.h
@@ -1,16 +1,18 @@
---- ui/base/ui_base_switches.h.orig 2025-09-10 13:22:16 UTC
+--- ui/base/ui_base_switches.h.orig 2025-10-21 16:57:35 UTC
+++ ui/base/ui_base_switches.h
-@@ -22,11 +22,11 @@ COMPONENT_EXPORT(UI_BASE) extern const char kDisableMo
- COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOverlayBorders[];
+@@ -37,13 +37,13 @@ inline constexpr char kDisableModalAnimations[] = "dis
+ inline constexpr char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- COMPONENT_EXPORT(UI_BASE) extern const char kSystemFontFamily[];
+ // Specifies system font family name. Improves determinism when rendering pages
+ // in headless mode.
+ inline constexpr char kSystemFontFamily[] = "system-font-family";
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- COMPONENT_EXPORT(UI_BASE) extern const char kUiToolkitFlag[];
- COMPONENT_EXPORT(UI_BASE) extern const char kGtkVersionFlag[];
- COMPONENT_EXPORT(UI_BASE) extern const char kQtVersionFlag[];
+ // Specify the toolkit used to construct the Linux GUI.
+ inline constexpr char kUiToolkitFlag[] = "ui-toolkit";
+ // Specify the GTK version to be loaded.