| 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 8f3da334f2a1e822cd72089c4dfe97c02118941f..c1285bf592fe4e96cbbfbb55e0ae759c82c6554c 100644
|
| --- a/ui/app_list/app_list_switches.cc
|
| +++ b/ui/app_list/app_list_switches.cc
|
| @@ -21,6 +21,9 @@ 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";
|
|
|
| +// 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";
|
| @@ -68,5 +71,9 @@ bool IsCenteredAppListEnabled() {
|
| IsExperimentalAppListEnabled();
|
| }
|
|
|
| +bool IsDriveAppsInAppListEnabled() {
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(kEnableDriveAppsInAppList);
|
| +}
|
| +
|
| } // namespace switches
|
| } // namespace app_list
|
|
|