aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_linux__ui_linux__ui.h
blob: aa233791b9a8cbb98ec1d278a896d4e5822e9878 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ui/views/linux_ui/linux_ui.h.orig	2022-03-25 21:59:56 UTC
+++ ui/views/linux_ui/linux_ui.h
@@ -21,7 +21,7 @@
 #include "ui/views/controls/button/button.h"
 #include "ui/views/views_export.h"
 
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMECAST)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMECAST)
 #include "ui/shell_dialogs/shell_dialog_linux.h"
 #endif
 
@@ -57,7 +57,7 @@ class WindowFrameProvider;
 // project that wants to do linux desktop native rendering.
 class VIEWS_EXPORT LinuxUI : public ui::LinuxInputMethodContextFactory,
                              public gfx::SkiaFontDelegate,
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMECAST)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMECAST)
                              public ui::ShellDialogLinux,
 #endif
                              public ui::TextEditKeyBindingsDelegateAuraLinux,