| Index: ui/app_list/app_list_switches.cc
|
| ===================================================================
|
| --- ui/app_list/app_list_switches.cc (revision 260618)
|
| +++ ui/app_list/app_list_switches.cc (working copy)
|
| @@ -15,8 +15,8 @@
|
| // 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 voice search is enabled in app list UI.
|
| +const char kEnableVoiceSearch[] = "enabled-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";
|
| @@ -28,7 +28,7 @@
|
| bool IsVoiceSearchEnabled() {
|
| // Speech recognition in AppList is only for ChromeOS right now.
|
| #if defined(OS_CHROMEOS)
|
| - return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableVoiceSearch);
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(kEnableVoiceSearch);
|
| #else
|
| return false;
|
| #endif
|
|
|