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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h

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/arc_app_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
index b83629cb6a7b2c159c6decd5b00fcb1b56369b9e..c2cf5a103915d9ddd5c4207105c3aa936bc083da 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
@@ -23,11 +23,11 @@ class ArcAppWindowLauncherItemController
~ArcAppWindowLauncherItemController() override;
// LauncherItemController overrides:
- ash::ShelfAction ItemSelected(ui::EventType event_type,
- int event_flags,
- int64_t display_id,
- ash::ShelfLaunchSource source) override;
- ash::ShelfAppMenuItemList GetAppMenuItems(int event_flags) override;
+ void ItemSelected(std::unique_ptr<ui::Event> event,
+ int64_t display_id,
+ ash::ShelfLaunchSource source,
+ const ItemSelectedCallback& callback) override;
+ MenuItemList GetAppMenuItems(int event_flags) override;
void AddTaskId(int task_id);
void RemoveTaskId(int task_id);

Powered by Google App Engine
This is Rietveld 408576698