Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: ui/app_list/app_list_switches.cc

Issue 322323002: Only allow ShowAppInfoFlow on Ash and Views platforms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actual smaller commit Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698