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

Unified Diff: chrome/browser/ui/browser_commands.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/ui/browser_commands.h ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 12f21b3084b62654b2367e199b06eecc95a17cfc..8b7e06b7793dcbcbc832c61c882221cc160a5e3d 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -1131,15 +1131,6 @@ void OpenUpdateChromeDialog(Browser* browser) {
}
}
-void ToggleSpeechInput(Browser* browser) {
- SearchTabHelper* search_tab_helper =
- SearchTabHelper::FromWebContents(
- browser->tab_strip_model()->GetActiveWebContents());
- // |search_tab_helper| can be null in unit tests.
- if (search_tab_helper)
- search_tab_helper->ToggleVoiceSearch();
-}
-
void DistillCurrentPage(Browser* browser) {
DistillCurrentPageAndView(browser->tab_strip_model()->GetActiveWebContents());
}
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698