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

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

Issue 2523053004: Enhance chrome.app.window API for shelf integration with restore support (Closed)
Patch Set: Review v4 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/ash/launcher/app_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
index 382e69dfca9dd8dd0f5a193fdc6c278ca1458cf7..dc82fad5a81039902e89d8dc5e0d2385265eab05 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
@@ -80,7 +80,8 @@ bool AppWindowLauncherItemController::IsVisible() const {
void AppWindowLauncherItemController::Launch(ash::LaunchSource source,
int event_flags) {
- launcher_controller()->LaunchApp(app_id(), source, ui::EF_NONE);
+ launcher_controller()->LaunchAppWithLaunchId(app_id(), launch_id(), source,
+ ui::EF_NONE);
stevenjb 2016/12/09 17:00:57 LaunchApp() ?
Andra Paraschiv 2016/12/12 14:28:22 Done.
}
ash::ShelfItemDelegate::PerformedAction

Powered by Google App Engine
This is Rietveld 408576698