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

Unified Diff: chrome/browser/ui/app_list/search/arc_app_result.cc

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Fixed use-after-free Created 4 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
Index: chrome/browser/ui/app_list/search/arc_app_result.cc
diff --git a/chrome/browser/ui/app_list/search/arc_app_result.cc b/chrome/browser/ui/app_list/search/arc_app_result.cc
index c2214116213abfa903898f2afbb56a87072e301c..5079b991d8450b4727ab4dc982ed30ba1d9364dc 100644
--- a/chrome/browser/ui/app_list/search/arc_app_result.cc
+++ b/chrome/browser/ui/app_list/search/arc_app_result.cc
@@ -47,7 +47,7 @@ void ArcAppResult::ExecuteLaunchCommand(int event_flags) {
void ArcAppResult::Open(int event_flags) {
RecordHistogram(APP_SEARCH_RESULT);
- if (!arc::LaunchApp(profile(), app_id()))
+ if (!arc::LaunchApp(profile(), app_id(), event_flags))
return;
// Manually close app_list view because focus is not changed on ARC app start,
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_utils.cc ('k') | chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698