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

Unified Diff: chrome/renderer/searchbox/searchbox.cc

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/renderer/searchbox/searchbox.cc
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc
index 8d84d8ccfa723934f1a33ef1244c0796cf933644..9c9cd54dc231636634e0826dbcf5f22a21af372c 100644
--- a/chrome/renderer/searchbox/searchbox.cc
+++ b/chrome/renderer/searchbox/searchbox.cc
@@ -338,11 +338,6 @@ void SearchBox::Paste(const base::string16& text) {
render_view()->GetRoutingID(), page_seq_no_, text));
}
-void SearchBox::SetVoiceSearchSupported(bool supported) {
- render_view()->Send(new ChromeViewHostMsg_SetVoiceSearchSupported(
- render_view()->GetRoutingID(), page_seq_no_, supported));
-}
-
void SearchBox::StartCapturingKeyStrokes() {
render_view()->Send(new ChromeViewHostMsg_FocusOmnibox(
render_view()->GetRoutingID(), page_seq_no_, OMNIBOX_FOCUS_INVISIBLE));

Powered by Google App Engine
This is Rietveld 408576698