Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: ui/app_list/app_list_switches.cc

Issue 218993008: Manual revert of r245345 in branch 1847 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1847/src/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/app_list/app_list_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698