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

Unified Diff: chrome/browser/ui/browser_command_controller.cc

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fix Created 5 years, 1 month 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 | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_command_controller.cc
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 0ccd5eae3689a48d60cb3cb0b277d720bda4008b..6a43cac2538034cfee7da0304c512fd408450348 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -778,9 +778,6 @@ void BrowserCommandController::ExecuteCommandWithDisposition(
case IDC_SHOW_SIGNIN:
ShowBrowserSigninOrSettings(browser_, signin_metrics::SOURCE_MENU);
break;
- case IDC_TOGGLE_SPEECH_INPUT:
- ToggleSpeechInput(browser_);
- break;
case IDC_DISTILL_PAGE:
DistillCurrentPage(browser_);
break;
@@ -1036,9 +1033,6 @@ void BrowserCommandController::InitCommandState() {
command_updater_.UpdateCommandEnabled(IDC_UPGRADE_DIALOG, true);
command_updater_.UpdateCommandEnabled(IDC_VIEW_INCOMPATIBILITIES, true);
- // Toggle speech input
- command_updater_.UpdateCommandEnabled(IDC_TOGGLE_SPEECH_INPUT, true);
-
// Distill current page.
command_updater_.UpdateCommandEnabled(
IDC_DISTILL_PAGE, base::CommandLine::ForCurrentProcess()->HasSwitch(
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698