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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_item.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/arc/arc_app_item.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_item.cc b/chrome/browser/ui/app_list/arc/arc_app_item.cc
index 881aba3ce7af440066a59cbbe3ec64cf3cacf29f..295c7c68a20381bc80da8337fe3be8ec9d1b7088 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_item.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_item.cc
@@ -46,7 +46,7 @@ const char* ArcAppItem::GetItemType() const {
}
void ArcAppItem::Activate(int event_flags) {
- if (!arc::LaunchApp(profile(), id()))
+ if (!arc::LaunchApp(profile(), 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/resources/options/browser_options.js ('k') | chrome/browser/ui/app_list/arc/arc_app_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698