aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_views_examples_widget__example.cc
blob: 570aa282d0ad4fcdb6e9fb75201e1537c922b8c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/views/examples/widget_example.cc.orig	2017-04-19 19:06:55 UTC
+++ ui/views/examples/widget_example.cc
@@ -77,7 +77,7 @@ void WidgetExample::CreateExampleView(Vi
   BuildButton(container, "Popup widget", POPUP);
   BuildButton(container, "Dialog widget", DIALOG);
   BuildButton(container, "Modal Dialog", MODAL_DIALOG);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Windows does not support TYPE_CONTROL top-level widgets.
   BuildButton(container, "Child widget", CHILD);
 #endif