blob: a3b94c7e82d1b919037efdb3ceee5ef9fafe21d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- electron/shell/browser/native_window_views.h.orig 2025-08-14 14:48:00 UTC
+++ electron/shell/browser/native_window_views.h
@@ -25,7 +25,7 @@ namespace electron {
namespace electron {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
class GlobalMenuBarX11;
#endif
@@ -164,7 +164,7 @@ class NativeWindowViews : public NativeWindow,
LPARAM l_param,
LRESULT* result);
void SetIcon(HICON small_icon, HICON app_icon);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void SetIcon(const gfx::ImageSkia& icon);
#endif
@@ -253,7 +253,7 @@ class NativeWindowViews : public NativeWindow,
// events from resizing the window.
extensions::SizeConstraints old_size_constraints_;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::unique_ptr<GlobalMenuBarX11> global_menu_bar_;
#endif
|