Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / app_list / app_list_switches.cc
index 6c9afb3..ae14848 100644 (file)
@@ -9,12 +9,18 @@
 namespace app_list {
 namespace switches {
 
+// If set, the experimental app list will be used.
+const char kEnableExperimentalAppList[] = "enable-experimental-app-list";
+
 // If set, folder will be enabled in app list UI.
 const char kEnableFolderUI[] = "enable-app-list-folder-ui";
 
 // If set, the voice search is disabled in app list UI.
 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";
+
 bool IsFolderUIEnabled() {
   return CommandLine::ForCurrentProcess()->HasSwitch(kEnableFolderUI);
 }
@@ -28,5 +34,9 @@ bool IsVoiceSearchEnabled() {
 #endif
 }
 
+bool IsAppInfoEnabled() {
+  return CommandLine::ForCurrentProcess()->HasSwitch(kEnableAppInfo);
+}
+
 }  // namespcae switches
 }  // namespace app_list