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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_deferred_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_deferred_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
index bcebea5ef10d472f8c446b2dd329c778ee9eac9f..e9ea416f50f069ce5f8b36c2837cf2c2b7ce2cf4 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
@@ -32,13 +32,12 @@ class ArcAppDeferredLauncherItemController : public LauncherItemController {
int event_flags() const { return event_flags_; }
- // ash::ShelfItemDelegate
- 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 ExecuteCommand(uint32_t command_id, int event_flags) override;
+ // LauncherItemController:
+ void ItemSelected(std::unique_ptr<ui::Event> event,
+ int64_t display_id,
+ ash::ShelfLaunchSource source,
+ const ItemSelectedCallback& callback) override;
+ void ExecuteCommand(uint32_t command_id, int32_t event_flags) override;
void Close() override;
private:

Powered by Google App Engine
This is Rietveld 408576698