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

Unified Diff: chrome/browser/ui/ash/launcher/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/app_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
index 9b5f924388411c77c33bc6a5550624205e2dbb9f..2d9a8e30f50b3f7fd4688a2ef73275410415e9ed 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
@@ -44,12 +44,11 @@ class AppWindowLauncherItemController : public LauncherItemController,
// LauncherItemController overrides:
AppWindowLauncherItemController* AsAppWindowLauncherItemController() override;
- 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;
+ 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;
// aura::WindowObserver overrides:

Powered by Google App Engine
This is Rietveld 408576698