summaryrefslogtreecommitdiffstats
path: root/ui/app_list/search_provider.h
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2014-12-15 22:09:49 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-16 06:11:06 +0000
commit9209ad8b1ead1e8e245f88828ae326462d3e654b (patch)
tree6dff7a8e3ad5cf7d21986b449f559c7290054917 /ui/app_list/search_provider.h
parent53986dc9600b0afde23cea4e2e1c98139df55d8f (diff)
downloadchromium_src-9209ad8b1ead1e8e245f88828ae326462d3e654b.zip
chromium_src-9209ad8b1ead1e8e245f88828ae326462d3e654b.tar.gz
chromium_src-9209ad8b1ead1e8e245f88828ae326462d3e654b.tar.bz2
App list: Voice queries to Google Search now say the answer back to you.
Appends a magic URL parameter (gs_ivs) that makes Google Search use text-to-speech (TTS) to speak back certain answers to the user. Only does this for voice searches, and only if it is to the google.com search keyword. BUG=435385 TBR=mukai@chromium.org Review URL: https://codereview.chromium.org/802613002 Cr-Commit-Position: refs/heads/master@{#308539}
Diffstat (limited to 'ui/app_list/search_provider.h')
-rw-r--r--ui/app_list/search_provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app_list/search_provider.h b/ui/app_list/search_provider.h
index d092c7e..92e8e5b 100644
--- a/ui/app_list/search_provider.h
+++ b/ui/app_list/search_provider.h
@@ -25,7 +25,7 @@ class APP_LIST_EXPORT SearchProvider {
virtual ~SearchProvider();
// Invoked to start a query.
- virtual void Start(const base::string16& query) = 0;
+ virtual void Start(bool is_voice_query, const base::string16& query) = 0;
// Invoked to stop the current query and no more results changes.
virtual void Stop() = 0;