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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 2171813004: mash: Fold ShelfItemDelegateManager into ShelfModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: explicitly destroy ShelfItemDelegates Created 4 years, 5 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/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 108d4f8cf1ffec1606e93edd6bf47079f5dd7244..eb963f98e6f58bf2d05aea17197adeeb1feef1aa 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -78,8 +78,7 @@ class ChromeLauncherController {
virtual void SetItemStatus(ash::ShelfID id, ash::ShelfItemStatus status) = 0;
// Updates the controller associated with id (which should be a shortcut).
- // |controller| will be owned by the |ChromeLauncherController| and then
- // passed on to |ShelfItemDelegateManager|.
+ // Takes ownership of |controller|.
// TODO(skuhne): Pass in scoped_ptr to make ownership clear.
virtual void SetItemController(ash::ShelfID id,
LauncherItemController* controller) = 0;

Powered by Google App Engine
This is Rietveld 408576698