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

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

Issue 2763893004: arc: Fix regression in handling ARC shelf item. (Closed)
Patch Set: comments updated 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.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
index 06e59e5bfc010bc322df0adf876bbdf8228c6df0..09cf400954c7795f157c67306bb4d90cf5807210 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc
@@ -54,6 +54,11 @@ void ArcAppWindowLauncherItemController::ItemSelected(
callback.Run(ash::SHELF_ACTION_NEW_WINDOW_CREATED, base::nullopt);
}
+void ArcAppWindowLauncherItemController::ExecuteCommand(uint32_t command_id,
+ int32_t event_flags) {
+ ActivateIndexedApp(command_id);
+}
+
MenuItemList ArcAppWindowLauncherItemController::GetAppMenuItems(
int event_flags) {
MenuItemList items;

Powered by Google App Engine
This is Rietveld 408576698