blob: e9e503414dda80ee7c2a8bcab4ba560958171973 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ui/views/style/platform_style.cc.orig 2025-03-24 20:50:14 UTC
+++ ui/views/style/platform_style.cc
@@ -16,7 +16,7 @@
#include "ui/views/controls/focusable_border.h"
#include "ui/views/controls/scrollbar/scroll_bar_views.h"
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
#endif
@@ -27,7 +27,7 @@ std::unique_ptr<ScrollBar> PlatformStyle::CreateScroll
// static
std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(
ScrollBar::Orientation orientation) {
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return std::make_unique<OverlayScrollBar>(orientation);
#else
return std::make_unique<ScrollBarViews>(orientation);
|