Index: ui/app_list/app_list_switches.cc |
diff --git a/ui/app_list/app_list_switches.cc b/ui/app_list/app_list_switches.cc |
index 074da0ff00bc0de3b31bc9b96f7544fc0a5cdf55..31ec25bc61cad440fe6f7bd4adcc603f504f524d 100644 |
--- a/ui/app_list/app_list_switches.cc |
+++ b/ui/app_list/app_list_switches.cc |
@@ -55,7 +55,11 @@ bool IsVoiceSearchEnabled() { |
} |
bool IsAppInfoEnabled() { |
+#if defined(TOOLKIT_VIEWS) |
return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableAppInfo); |
+#else |
+ return false; |
+#endif |
} |
bool IsExperimentalAppListEnabled() { |