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

Unified Diff: ui/app_list/views/search_result_list_view_delegate.h

Issue 151903007: Introduces UMA for app-list voice search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « ui/app_list/views/search_result_list_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_list_view_delegate.h
diff --git a/ui/app_list/views/search_result_list_view_delegate.h b/ui/app_list/views/search_result_list_view_delegate.h
index 405094b31a500071b5b2c3be00cde1c2a3693b0f..e173287b9cee91d9d0541b7a4fab5d8f7ad41326 100644
--- a/ui/app_list/views/search_result_list_view_delegate.h
+++ b/ui/app_list/views/search_result_list_view_delegate.h
@@ -14,9 +14,12 @@ class SearchResult;
class APP_LIST_EXPORT SearchResultListViewDelegate {
public:
// Invoked to open given |result|. |event_flags| contains the flags of the
- // keyboard/mouse event that triggers the "open" request. Delegate could use
- // the |event_flags| information to choose different ways to open the result.
+ // keyboard/mouse event that triggers the "open" request. |auto_launch| is
+ // true when the result is opened automatically through voice-search. Delegate
+ // could use the |event_flags| information to choose different ways to open
+ // the result.
virtual void OpenResult(SearchResult* result,
+ bool auto_launch,
int event_flags) = 0;
// Called to invoke a custom action on |result|. |action_index| corresponds
« no previous file with comments | « ui/app_list/views/search_result_list_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698