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

Unified Diff: ash/common/shelf/shelf_window_watcher_item_delegate.cc

Issue 2791803002: mash: Move LauncherItemController to ash, rename ShelfItemDelegate. (Closed)
Patch Set: Move shelf_item_delegate to ash/public/cpp, cleanup. Created 3 years, 9 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: ash/common/shelf/shelf_window_watcher_item_delegate.cc
diff --git a/ash/common/shelf/shelf_window_watcher_item_delegate.cc b/ash/common/shelf/shelf_window_watcher_item_delegate.cc
index 88be8b7f780bad730d53bee3451549dd1b58ff28..da968d45470200eef89f3d4e132e8464c0a51c35 100644
--- a/ash/common/shelf/shelf_window_watcher_item_delegate.cc
+++ b/ash/common/shelf/shelf_window_watcher_item_delegate.cc
@@ -28,7 +28,7 @@ ShelfItemType GetShelfItemType(ShelfID id) {
ShelfWindowWatcherItemDelegate::ShelfWindowWatcherItemDelegate(ShelfID id,
WmWindow* window)
- : id_(id), window_(window) {
+ : ShelfItemDelegate(AppLaunchId()), id_(id), window_(window) {
DCHECK_NE(kInvalidShelfID, id_);
DCHECK(window_);
}

Powered by Google App Engine
This is Rietveld 408576698