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

Unified Diff: ui/app_list/cocoa/app_list_view_controller.mm

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/app_list_view_delegate.h ('k') | ui/app_list/test/app_list_test_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/app_list_view_controller.mm
diff --git a/ui/app_list/cocoa/app_list_view_controller.mm b/ui/app_list/cocoa/app_list_view_controller.mm
index a28171cd7e3ef41f0e1d73997a171342b2241a9c..27f2da1b2b533b9fada146b8782091455b12ea88 100644
--- a/ui/app_list/cocoa/app_list_view_controller.mm
+++ b/ui/app_list/cocoa/app_list_view_controller.mm
@@ -342,8 +342,10 @@ void AppListModelObserverBridge::OnProfilesChanged() {
}
- (void)openResult:(app_list::SearchResult*)result {
- if (delegate_)
- delegate_->OpenSearchResult(result, 0 /* event flags */);
+ if (delegate_) {
+ delegate_->OpenSearchResult(
+ result, false /* auto_launch */, 0 /* event flags */);
+ }
}
- (void)redoSearch {
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/test/app_list_test_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698