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

Unified Diff: chrome/browser/about_flags.cc

Issue 212223012: Disable app list folders by default for non-ChromeOS platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android compile, sync_integration_tests Created 6 years, 9 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 67eacca32f3844a164081331849c16869cc3a898..6748df4fa9ff17af8deb0ad6366ea07a1b475414 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -401,6 +401,16 @@ const Experiment::Choice kTouchScrollingModeChoices[] = {
switches::kTouchScrollingModeSyncTouchmove },
};
+#if defined(ENABLE_APP_LIST)
+const Experiment::Choice kEnableAppListFoldersChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ app_list::switches::kEnableFolderUI, "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ app_list::switches::kDisableFolderUI, "" },
+};
+#endif
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1524,11 +1534,11 @@ const Experiment kExperiments[] = {
},
#endif
{
- "disable-app-list-folder-ui",
- IDS_FLAGS_DISABLE_APP_LIST_FOLDER,
- IDS_FLAGS_DISABLE_APP_LIST_FOLDER_DESCRIPTION,
- kOsWin | kOsLinux | kOsCrOS,
- SINGLE_VALUE_TYPE(app_list::switches::kDisableFolderUI)
+ "app-list-folder-ui",
+ IDS_FLAGS_ENABLE_APP_LIST_FOLDER,
+ IDS_FLAGS_ENABLE_APP_LIST_FOLDER_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kEnableAppListFoldersChoices)
},
{
"disable-app-list-voice-search",
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/sync/test/integration/two_client_app_list_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698