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

Unified Diff: chrome/browser/ui/search/instant_controller.h

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_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index cdb170bc55056603a11d19153bc4153811765d35..6a53c3ca9b020ea5f7401574b6ec9f84c2492938 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -337,6 +337,8 @@ class InstantController : public InstantPage::Delegate {
virtual void SetSuggestions(
const content::WebContents* contents,
const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
+ virtual void SetVoiceSearchSupported(
+ const content::WebContents* contents, bool supported) OVERRIDE;
virtual void ShowInstantOverlay(
const content::WebContents* contents,
int height,
« no previous file with comments | « no previous file | chrome/browser/ui/search/instant_controller.cc » ('j') | chrome/browser/ui/search/instant_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698