| 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 406519e700a76d1b7e62bbee72587db6f79838e1..8f3da334f2a1e822cd72089c4dfe97c02118941f 100644
|
| --- a/ui/app_list/app_list_switches.cc
|
| +++ b/ui/app_list/app_list_switches.cc
|
| @@ -18,12 +18,12 @@ 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 experimental app list will be used.
|
| -const char kEnableExperimentalAppList[] = "enable-experimental-app-list";
|
| +// If set, the app list will be centered and wide instead of tall.
|
| +const char kEnableCenteredAppList[] = "enable-centered-app-list";
|
|
|
| -// If set, the experimental app list position will be used.
|
| -const char kEnableExperimentalAppListPosition[] =
|
| - "enable-experimental-app-list-position";
|
| +// If set, the experimental app list will be used. Implies
|
| +// --enable-centered-app-list.
|
| +const char kEnableExperimentalAppList[] = "enable-experimental-app-list";
|
|
|
| // Enables syncing of the app list independent of extensions.
|
| const char kEnableSyncAppList[] = "enable-sync-app-list";
|
| @@ -63,9 +63,8 @@ bool IsExperimentalAppListEnabled() {
|
| kEnableExperimentalAppList);
|
| }
|
|
|
| -bool IsExperimentalAppListPositionEnabled() {
|
| - return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - kEnableExperimentalAppListPosition) ||
|
| +bool IsCenteredAppListEnabled() {
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(kEnableCenteredAppList) ||
|
| IsExperimentalAppListEnabled();
|
| }
|
|
|
|
|