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

Unified Diff: chrome/renderer/searchbox/searchbox.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: Respond and revert changes. 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 0a45a051163f8c9995779097ae65609ec2434729..230782c93c8dee9cb89ef6cc1ff99f6c8646239c 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -32,6 +32,9 @@ class SearchBox : public content::RenderViewObserver,
// Sends ChromeViewHostMsg_SetSuggestion to the browser.
void SetSuggestions(const std::vector<InstantSuggestion>& suggestions);
+ // Sends ChromeViewHostMsg_SetVoiceSearchSupported to the browser.
+ void SetVoiceSearchSupported(bool supported);
+
// Marks the current query text as restricted, to make sure that it does
// not get communicated to the page. The restricted status lasts until the
// query is next changed or cleared.

Powered by Google App Engine
This is Rietveld 408576698