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

Unified Diff: ui/app_list/app_list_switches.cc

Issue 312423004: Enable app info dialog by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Browser test 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 | « ui/app_list/app_list_switches.h ('k') | 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 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() {
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698