| 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 31ec25bc61cad440fe6f7bd4adcc603f504f524d..4e9ebf3059f96d55a969a117aff81925537fb343 100644
|
| --- a/ui/app_list/app_list_switches.cc
|
| +++ b/ui/app_list/app_list_switches.cc
|
| @@ -21,6 +21,9 @@ const char kDisableVoiceSearch[] = "disable-app-list-voice-search";
|
| // If set, the app list will be centered and wide instead of tall.
|
| const char kEnableCenteredAppList[] = "enable-centered-app-list";
|
|
|
| +// If set, Drive apps of the user shows side-by-side with Chrome apps.
|
| +const char kEnableDriveAppsInAppList[] = "enable-drive-apps-in-app-list";
|
| +
|
| // If set, the experimental app list will be used. Implies
|
| // --enable-centered-app-list.
|
| const char kEnableExperimentalAppList[] = "enable-experimental-app-list";
|
| @@ -72,5 +75,9 @@ bool IsCenteredAppListEnabled() {
|
| IsExperimentalAppListEnabled();
|
| }
|
|
|
| +bool IsDriveAppsInAppListEnabled() {
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(kEnableDriveAppsInAppList);
|
| +}
|
| +
|
| } // namespace switches
|
| } // namespace app_list
|
|
|