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

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

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/app_list_shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_application_menu_model.cc » ('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.h
diff --git a/ash/common/shelf/shelf_application_menu_model.h b/ash/common/shelf/shelf_application_menu_model.h
index 8b3e90cd4c2404521fa27cb05d35f97a5207cc4d..dc427d12ded77f9efe99093e935199722a7a3318 100644
--- a/ash/common/shelf/shelf_application_menu_model.h
+++ b/ash/common/shelf/shelf_application_menu_model.h
@@ -15,7 +15,7 @@
namespace ash {
-class ShelfApplicationMenuModelTestAPI;
+class ShelfItemDelegate;
// A menu model listing open applications associated with a shelf item. Layout:
// +---------------------------+
@@ -34,7 +34,7 @@ class ASH_EXPORT ShelfApplicationMenuModel
// |delegate| may be null in unit tests that do not execute commands.
ShelfApplicationMenuModel(const base::string16& title,
std::vector<mojom::MenuItemPtr> items,
- mojom::ShelfItemDelegate* delegate);
+ ShelfItemDelegate* delegate);
~ShelfApplicationMenuModel() override;
// ui::SimpleMenuModel::Delegate:
@@ -53,7 +53,7 @@ class ASH_EXPORT ShelfApplicationMenuModel
std::vector<mojom::MenuItemPtr> items_;
// The shelf item delegate that created the menu and executes its commands.
- mojom::ShelfItemDelegate* delegate_;
+ ShelfItemDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(ShelfApplicationMenuModel);
};
« no previous file with comments | « ash/common/shelf/app_list_shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_application_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698