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

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

Issue 2791803002: mash: Move LauncherItemController to ash, rename ShelfItemDelegate. (Closed)
Patch Set: Sync and rebase. Created 3 years, 8 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
« no previous file with comments | « ash/common/shelf/shelf_application_menu_model.h ('k') | ash/common/shelf/shelf_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_application_menu_model.cc
diff --git a/ash/common/shelf/shelf_application_menu_model.cc b/ash/common/shelf/shelf_application_menu_model.cc
index 490772f497a731df46c5ee616492021fc4f3348b..91faf69996875ed6e6995243585bd3f2a599b401 100644
--- a/ash/common/shelf/shelf_application_menu_model.cc
+++ b/ash/common/shelf/shelf_application_menu_model.cc
@@ -9,6 +9,7 @@
#include <limits>
#include <utility>
+#include "ash/public/cpp/shelf_item_delegate.h"
#include "base/metrics/histogram_macros.h"
#include "ui/gfx/image/image.h"
@@ -23,7 +24,7 @@ namespace ash {
ShelfApplicationMenuModel::ShelfApplicationMenuModel(
const base::string16& title,
std::vector<mojom::MenuItemPtr> items,
- mojom::ShelfItemDelegate* delegate)
+ ShelfItemDelegate* delegate)
: ui::SimpleMenuModel(this), items_(std::move(items)), delegate_(delegate) {
AddSeparator(ui::SPACING_SEPARATOR);
AddItem(kInvalidCommandId, title);
« no previous file with comments | « ash/common/shelf/shelf_application_menu_model.h ('k') | ash/common/shelf/shelf_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698