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

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

Issue 2773493002: [Merge M58] arc: Fix regression in handling ARC shelf item. (Closed)
Patch Set: resolve merge conflicts and adopt to M58 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 e84941fc5cd74ee6f00ee54bf130b7e18820d8ec..48c85869a815c7bfd3ad5cca21df2345bc3b08c2 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
@@ -52,6 +52,11 @@ ash::ShelfAction ArcAppWindowLauncherItemController::ItemSelected(
return ash::SHELF_ACTION_NEW_WINDOW_CREATED;
}
+void ArcAppWindowLauncherItemController::ExecuteCommand(uint32_t command_id,
+ int32_t event_flags) {
+ ActivateIndexedApp(command_id);
+}
+
ash::ShelfAppMenuItemList ArcAppWindowLauncherItemController::GetAppMenuItems(
int event_flags) {
ash::ShelfAppMenuItemList items;

Powered by Google App Engine
This is Rietveld 408576698