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

Unified Diff: chrome/browser/ui/search/instant_tab.cc

Issue 17132011: Add setVoiceSearchSupported to the searchbox API. This will be used to determine whether to show a … (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Move listener to SearchTabHelper. Created 7 years, 6 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
Index: chrome/browser/ui/search/instant_tab.cc
diff --git a/chrome/browser/ui/search/instant_tab.cc b/chrome/browser/ui/search/instant_tab.cc
index e1c5b2a9b27503a0793d441017454897b9fb1d48..538dfddd084bfd3bfe19682f18b878c2ea730676 100644
--- a/chrome/browser/ui/search/instant_tab.cc
+++ b/chrome/browser/ui/search/instant_tab.cc
@@ -26,6 +26,10 @@ bool InstantTab::ShouldProcessSetSuggestions() {
return true;
}
+bool InstantTab::ShouldProcessSetVoiceSearchSupported() {
+ return true;
+}
+
bool InstantTab::ShouldProcessFocusOmnibox() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698