aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h')
-rw-r--r--www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h b/www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h
new file mode 100644
index 000000000000..a1844b40f801
--- /dev/null
+++ b/www/chromium/files/patch-ui_ozone_test_mock__platform__window__delegate.h
@@ -0,0 +1,11 @@
+--- ui/ozone/test/mock_platform_window_delegate.h.orig 2022-10-24 13:33:33 UTC
++++ ui/ozone/test/mock_platform_window_delegate.h
+@@ -31,7 +31,7 @@ class MockPlatformWindowDelegate : public PlatformWind
+ MOCK_METHOD2(OnWindowStateChanged,
+ void(PlatformWindowState old_state,
+ PlatformWindowState new_state));
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ MOCK_METHOD1(OnWindowTiledStateChanged,
+ void(WindowTiledEdges new_tiled_edges));
+ #endif