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

Unified Diff: ash/common/shelf/app_list_shelf_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/app_list_shelf_item_delegate.cc
diff --git a/ash/common/shelf/app_list_shelf_item_delegate.cc b/ash/common/shelf/app_list_shelf_item_delegate.cc
index c3da04402799a8d487dc1a8e8f9740e7779ea19d..7e0ae10f8253453d6573cecffbfb02fec61deb6b 100644
--- a/ash/common/shelf/app_list_shelf_item_delegate.cc
+++ b/ash/common/shelf/app_list_shelf_item_delegate.cc
@@ -28,7 +28,8 @@ void AppListShelfItemDelegate::CreateAppListItemAndDelegate(ShelfModel* model) {
model->SetShelfItemDelegate(id, base::MakeUnique<AppListShelfItemDelegate>());
}
-AppListShelfItemDelegate::AppListShelfItemDelegate() {}
+AppListShelfItemDelegate::AppListShelfItemDelegate()
+ : ShelfItemDelegate(AppLaunchId()) {}
AppListShelfItemDelegate::~AppListShelfItemDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698