| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| index 8bbc8df797f0d402386f096c4c187d93a47ed680..5b44aedd93bb335bdfbdfa14399aee4466591642 100644
|
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
|
| @@ -368,10 +368,6 @@ void ChromeLauncherController::SetV1AppStatus(const std::string& app_id,
|
| }
|
| }
|
|
|
| -void ChromeLauncherController::Launch(const ash::ShelfID& id, int event_flags) {
|
| - LaunchApp(id, ash::LAUNCH_FROM_UNKNOWN, event_flags);
|
| -}
|
| -
|
| void ChromeLauncherController::Close(const ash::ShelfID& id) {
|
| ash::ShelfItemDelegate* delegate = model_->GetShelfItemDelegate(id);
|
| if (!delegate)
|
| @@ -394,8 +390,9 @@ bool ChromeLauncherController::IsPlatformApp(const ash::ShelfID& id) {
|
|
|
| void ChromeLauncherController::LaunchApp(const ash::ShelfID& id,
|
| ash::ShelfLaunchSource source,
|
| - int event_flags) {
|
| - launcher_controller_helper_->LaunchApp(id, source, event_flags);
|
| + int event_flags,
|
| + int64_t display_id) {
|
| + launcher_controller_helper_->LaunchApp(id, source, event_flags, display_id);
|
| }
|
|
|
| void ChromeLauncherController::ActivateApp(const std::string& app_id,
|
| @@ -415,7 +412,7 @@ void ChromeLauncherController::ActivateApp(const std::string& app_id,
|
| if (!item_delegate->GetRunningApplications().empty())
|
| SelectItemWithSource(item_delegate.get(), source);
|
| else
|
| - LaunchApp(shelf_id, source, event_flags);
|
| + LaunchApp(shelf_id, source, event_flags, display::kInvalidDisplayId);
|
| }
|
|
|
| void ChromeLauncherController::SetLauncherItemImage(
|
|
|