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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_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: Created 4 years, 4 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/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index 8ccca6d8158d98a048a1e4b2c52d4bb0da445ccf..e199a3ec34ecf5a0acc2e48454ae876e5abc6e26 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -576,7 +576,7 @@ void ArcAppWindowLauncherController::RegisterApp(AppWindow* app_window) {
shelf_id = controller->shelf_id();
} else {
controller = new ArcAppWindowLauncherItemController(app_id, owner());
- shelf_id = shelf_delegate_->GetShelfIDForAppID(app_id);
+ shelf_id = shelf_delegate_->GetShelfIDForAppID(app_id, app_id);
if (shelf_id == 0) {
// Map Play Store shelf icon to Arc Support host, to share one entry.
shelf_id = owner()->CreateAppLauncherItem(controller, app_id,

Powered by Google App Engine
This is Rietveld 408576698