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

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

Issue 2696073002: Merge ShelfItemDelegate::ItemSelected & LauncherItemDelegate::Activate. (Closed)
Patch Set: nit Created 3 years, 10 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 7da11ea16c232247c37e1bddba86283da8f4cc25..afe255d9ddd4624c63156742205268b21fd3c610 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
@@ -33,15 +33,13 @@ class ArcAppDeferredLauncherItemController : public LauncherItemController {
int event_flags() const { return event_flags_; }
// ash::ShelfItemDelegate
- ash::ShelfItemDelegate::PerformedAction ItemSelected(
- const ui::Event& event) 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 Close() override;
- // LauncherItemController overrides:
- ash::ShelfItemDelegate::PerformedAction Activate(
- ash::LaunchSource source) override;
-
private:
// The flags of the event that caused the ARC app to be activated. These will
// be propagated to the launch event once the app is actually launched.

Powered by Google App Engine
This is Rietveld 408576698