Index: chrome/browser/search_engines/template_url.h |
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h |
index 284c48d7541b5c231714e066063b340491af4e42..a2fcadff8eb30e6f94eae3f2c70940f6960a9c86 100644 |
--- a/chrome/browser/search_engines/template_url.h |
+++ b/chrome/browser/search_engines/template_url.h |
@@ -133,6 +133,11 @@ class TemplateURLRef { |
// disabled by google.com preferences. See comments on |
// SearchTermsData::ForceInstantResultsParam(). |
bool force_instant_results; |
+ |
+ // If set ReplaceSearchTerms() will automatically append an extra query |
+ // parameter indicating that the search originated from voice input. This |
+ // causes the search result page to eanble audio playback with answers. |
+ bool is_voice_input_source; |
}; |
TemplateURLRef(TemplateURL* owner, Type type); |
@@ -261,6 +266,7 @@ class TemplateURLRef { |
GOOGLE_IMAGE_THUMBNAIL, |
GOOGLE_IMAGE_URL, |
GOOGLE_FORCE_INSTANT_RESULTS, |
+ GOOGLE_VOICE_INPUT_SOURCE, |
GOOGLE_INSTANT_EXTENDED_ENABLED, |
GOOGLE_NTP_IS_THEMED, |
GOOGLE_OMNIBOX_START_MARGIN, |