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 c583832888b98b9b0fdb8fb5893c7dc800f2dd4e..0f6d670c07f471f659a9e57317b8a30504fe3e13 100644 |
--- a/ui/app_list/app_list_switches.cc |
+++ b/ui/app_list/app_list_switches.cc |
@@ -26,6 +26,9 @@ const char kDisableAppListDismissOnBlur[] = "disable-app-list-dismiss-on-blur"; |
// If set, the app list will be enabled as if enabled from CWS. |
const char kEnableAppList[] = "enable-app-list"; |
+// Enables the fullscreen app list. |
+extern const char kEnableFullscreenAppList[] = "enable-fullscreen-app-list"; |
+ |
// Enable/disable syncing of the app list independent of extensions. |
const char kEnableSyncAppList[] = "enable-sync-app-list"; |
const char kDisableSyncAppList[] = "disable-sync-app-list"; |
@@ -87,5 +90,10 @@ bool IsAnswerCardEnabled() { |
return !AnswerServerUrl().empty(); |
} |
+bool IsFullscreenAppListEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ kEnableFullscreenAppList); |
+} |
+ |
} // namespace switches |
} // namespace app_list |