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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_context_menu.cc

Issue 2718563008: mash: Use mojo for ShelfItemDelegate and [app] MenuItem. (Closed)
Patch Set: Address comments. 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: chrome/browser/ui/ash/launcher/launcher_context_menu.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
index 30d381525fceaf3a031588e0b02750b3bafe5f30..3a74ace7f394341c6bee2fac214cd9d71bdac041 100644
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc
@@ -116,7 +116,7 @@ void LauncherContextMenu::ExecuteCommand(int command_id, int event_flags) {
break;
case MENU_CLOSE:
if (item_.type == ash::TYPE_DIALOG) {
- ash::ShelfItemDelegate* item_delegate =
+ ash::mojom::ShelfItemDelegate* item_delegate =
ash::WmShell::Get()->shelf_model()->GetShelfItemDelegate(item_.id);
DCHECK(item_delegate);
item_delegate->Close();

Powered by Google App Engine
This is Rietveld 408576698