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

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

Issue 2290603002: Enhance chrome.app.window API for shelf integration with pinning support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: LauncherItemController Unit Tests Fix after Rebase Created 4 years, 3 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_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 3d25b4ef49c7eaa0c799504337010a6b2e97eab8..b703325a4b224d921e3a60fe3d6ba89c95ee7e79 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
@@ -17,11 +17,12 @@
AppWindowLauncherItemController::AppWindowLauncherItemController(
Type type,
- const std::string& app_shelf_id,
const std::string& app_id,
+ const std::string& launch_id,
ChromeLauncherController* controller)
- : LauncherItemController(type, app_id, controller),
- app_shelf_id_(app_shelf_id),
+ : LauncherItemController(type, app_id, launch_id, controller),
+ app_id_(app_id),
+ launch_id_(launch_id),
observed_windows_(this) {}
AppWindowLauncherItemController::~AppWindowLauncherItemController() {}

Powered by Google App Engine
This is Rietveld 408576698