diff options
Diffstat (limited to 'www/chromium/files/patch-ui_views_style_platform__style.cc')
-rw-r--r-- | www/chromium/files/patch-ui_views_style_platform__style.cc | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/www/chromium/files/patch-ui_views_style_platform__style.cc b/www/chromium/files/patch-ui_views_style_platform__style.cc index 0292c1fd177e..1a39a9747b40 100644 --- a/www/chromium/files/patch-ui_views_style_platform__style.cc +++ b/www/chromium/files/patch-ui_views_style_platform__style.cc @@ -1,11 +1,20 @@ ---- ui/views/style/platform_style.cc.orig 2022-07-22 17:30:31 UTC +--- ui/views/style/platform_style.cc.orig 2025-04-04 08:52:13 UTC +++ ui/views/style/platform_style.cc -@@ -52,7 +52,7 @@ const View::FocusBehavior PlatformStyle::kDefaultFocus - const bool PlatformStyle::kAdjustBubbleIfOffscreen = - // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) - false; +@@ -23,7 +23,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 + #endif +@@ -35,7 +35,7 @@ namespace views { + // 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 - true; + return std::make_unique<ScrollBarViews>(orientation); |