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

Unified Diff: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc

Issue 2894743002: Make launching apps from shelf more intuitive (Closed)
Patch Set: Affected by new revision, gclient sync and re-upload. Created 3 years, 7 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
Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
index f1bf9036b90887e6e41ce79cb3189479deff466e..f454f2c79e50cb9c6f368066dd4691fde64acacd 100644
--- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
@@ -116,8 +116,8 @@ void AppShortcutLauncherItemController::ItemSelected(
// Launching some items replaces this item controller instance, which
// destroys its ShelfID string pair; making copies avoid crashes.
- ChromeLauncherController::instance()->LaunchApp(ash::ShelfID(shelf_id()),
- source, ui::EF_NONE);
+ ChromeLauncherController::instance()->LaunchApp(
+ ash::ShelfID(shelf_id()), source, ui::EF_NONE, display_id);
std::move(callback).Run(ash::SHELF_ACTION_NEW_WINDOW_CREATED,
base::nullopt);
return;
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698