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 148cc31095bdbc38045e99bbff136607887cc977..074da0ff00bc0de3b31bc9b96f7544fc0a5cdf55 100644 |
--- a/ui/app_list/app_list_switches.cc |
+++ b/ui/app_list/app_list_switches.cc |
@@ -9,15 +9,15 @@ |
namespace app_list { |
namespace switches { |
+// If set, the app info context menu item is not available in the app list UI. |
+const char kDisableAppInfo[] = "disable-app-list-app-info"; |
+ |
// Disables syncing of the app list independent of extensions. |
const char kDisableSyncAppList[] = "disable-sync-app-list"; |
// If set, the voice search is disabled in app list UI. |
const char kDisableVoiceSearch[] = "disable-app-list-voice-search"; |
-// If set, the app info context menu item is available in the app list UI. |
-const char kEnableAppInfo[] = "enable-app-list-app-info"; |
- |
// If set, the app list will be centered and wide instead of tall. |
const char kEnableCenteredAppList[] = "enable-centered-app-list"; |
@@ -55,7 +55,7 @@ bool IsVoiceSearchEnabled() { |
} |
bool IsAppInfoEnabled() { |
- return CommandLine::ForCurrentProcess()->HasSwitch(kEnableAppInfo); |
+ return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableAppInfo); |
} |
bool IsExperimentalAppListEnabled() { |