2023-08-16 22:26:55 +00:00
|
|
|
Index: ui/views/widget/widget.h
|
|
|
|
--- ui/views/widget/widget.h.orig
|
|
|
|
+++ ui/views/widget/widget.h
|
2024-05-20 13:42:05 +00:00
|
|
|
@@ -427,7 +427,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWid
|
2023-08-16 22:26:55 +00:00
|
|
|
// If set, the widget was created in headless mode.
|
|
|
|
bool headless_mode = false;
|
|
|
|
|
|
|
|
-#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
|
|
+#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD))
|
|
|
|
// Indicates whether the desktop native widget is required for the widget.
|
|
|
|
// This may enforce changing the type of the underlying platform window.
|
|
|
|
// See crbug.com/1280332
|