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

Unified Diff: ash/common/shelf/app_list_shelf_item_delegate.cc

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: ash/common/shelf/app_list_shelf_item_delegate.cc
diff --git a/ash/common/shelf/app_list_shelf_item_delegate.cc b/ash/common/shelf/app_list_shelf_item_delegate.cc
index 6e1f003797755bd91dccaa0ef21e81b2aadbb87b..0ed17230801ae3c98895fd35fd804ae728a52450 100644
--- a/ash/common/shelf/app_list_shelf_item_delegate.cc
+++ b/ash/common/shelf/app_list_shelf_item_delegate.cc
@@ -32,10 +32,12 @@ AppListShelfItemDelegate::AppListShelfItemDelegate() {}
AppListShelfItemDelegate::~AppListShelfItemDelegate() {}
-ShelfItemDelegate::PerformedAction AppListShelfItemDelegate::ItemSelected(
- const ui::Event& event) {
+ShelfAction AppListShelfItemDelegate::ItemSelected(ui::EventType event_type,
+ int event_flags,
+ int64_t display_id,
+ ShelfLaunchSource source) {
WmShell::Get()->ToggleAppList();
- return ShelfItemDelegate::kAppListMenuShown;
+ return SHELF_ACTION_APP_LIST_SHOWN;
}
ShelfAppMenuItemList AppListShelfItemDelegate::GetAppMenuItems(
« no previous file with comments | « ash/common/shelf/app_list_shelf_item_delegate.h ('k') | ash/common/shelf/shelf_button_pressed_metric_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698