summaryrefslogtreecommitdiffstats
path: root/ui/app_list
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app_list')
-rw-r--r--ui/app_list/app_list_switches.cc5
-rw-r--r--ui/app_list/app_list_switches.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/ui/app_list/app_list_switches.cc b/ui/app_list/app_list_switches.cc
index 4e9ebf3..d0c77d2 100644
--- a/ui/app_list/app_list_switches.cc
+++ b/ui/app_list/app_list_switches.cc
@@ -15,9 +15,6 @@ const char kDisableAppInfo[] = "disable-app-list-app-info";
// Disables syncing of the app list independent of extensions.
const char kDisableSyncAppList[] = "disable-sync-app-list";
-// If set, the voice search is disabled in app list UI.
-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";
@@ -51,7 +48,7 @@ bool IsFolderUIEnabled() {
bool IsVoiceSearchEnabled() {
// Speech recognition in AppList is only for ChromeOS right now.
#if defined(OS_CHROMEOS)
- return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableVoiceSearch);
+ return true;
#else
return false;
#endif
diff --git a/ui/app_list/app_list_switches.h b/ui/app_list/app_list_switches.h
index cb39ad6..d984bb9 100644
--- a/ui/app_list/app_list_switches.h
+++ b/ui/app_list/app_list_switches.h
@@ -13,7 +13,6 @@ namespace switches {
// Please keep these flags sorted.
APP_LIST_EXPORT extern const char kDisableAppInfo[];
APP_LIST_EXPORT extern const char kDisableSyncAppList[];
-APP_LIST_EXPORT extern const char kDisableVoiceSearch[];
APP_LIST_EXPORT extern const char kEnableCenteredAppList[];
APP_LIST_EXPORT extern const char kEnableDriveAppsInAppList[];
APP_LIST_EXPORT extern const char kEnableExperimentalAppList[];