$OpenBSD: patch-ui_app_list_views_app_list_view_cc,v 1.6 2016/04/27 12:46:16 robert Exp $
--- ui/app_list/views/app_list_view.cc.orig.port	Wed Apr 13 23:00:04 2016
+++ ui/app_list/views/app_list_view.cc	Thu Apr 14 08:25:15 2016
@@ -80,7 +80,7 @@ bool SupportsShadow() {
           ::switches::kDisableDwmComposition)) {
     return false;
   }
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
   // Shadows are not supported on (non-ChromeOS) Linux.
   return false;
 #endif
@@ -606,7 +606,7 @@ void AppListView::OnBeforeBubbleWidgetInit(
   // the taskbar for these versions of Windows.
   if (base::win::GetVersion() >= base::win::VERSION_WIN7)
     params->force_show_in_taskbar = true;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
   // Set up a custom WM_CLASS for the app launcher window. This allows task
   // switchers in X11 environments to distinguish it from main browser windows.
   params->wm_class_name = kAppListWMClass;
