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

Unified Diff: ui/app_list/search_controller.h

Issue 796293002: App list voice searches now prioritize exact-match web results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 6 years 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
« no previous file with comments | « ui/app_list/search/mixer_unittest.cc ('k') | ui/app_list/search_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_controller.h
diff --git a/ui/app_list/search_controller.h b/ui/app_list/search_controller.h
index 18c67ef739b0d5d8c64c04be68c21ef6eb4da03a..24825339a0c347ca133601731d6248221605d303 100644
--- a/ui/app_list/search_controller.h
+++ b/ui/app_list/search_controller.h
@@ -31,7 +31,7 @@ class APP_LIST_EXPORT SearchController {
History* history);
virtual ~SearchController();
- void Start();
+ void Start(bool is_voice_query);
void Stop();
void OpenResult(SearchResult* result, int event_flags);
@@ -56,6 +56,8 @@ class APP_LIST_EXPORT SearchController {
scoped_ptr<Mixer> mixer_;
History* history_; // KeyedService, not owned.
+ bool is_voice_query_;
+
base::OneShotTimer<SearchController> stop_timer_;
DISALLOW_COPY_AND_ASSIGN(SearchController);
« no previous file with comments | « ui/app_list/search/mixer_unittest.cc ('k') | ui/app_list/search_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698