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 |