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

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

Issue 2716403005: mash: Remove shelf app menu item objects. (Closed)
Patch Set: Address comments. 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.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
index aa55e1edc3e908dae230a293085d42673ececab9..47ab491f4db2650de393cc1ba5545d8d10aab945 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
@@ -42,9 +42,16 @@ ash::ShelfAction ArcAppDeferredLauncherItemController::ItemSelected(
ash::ShelfAppMenuItemList ArcAppDeferredLauncherItemController::GetAppMenuItems(
int event_flags) {
+ // Return an empty item list to avoid showing an application menu.
return ash::ShelfAppMenuItemList();
}
+void ArcAppDeferredLauncherItemController::ExecuteCommand(uint32_t command_id,
+ int event_flags) {
+ // This delegate does not support showing an application menu.
+ NOTIMPLEMENTED();
+}
+
void ArcAppDeferredLauncherItemController::Close() {
if (host_)
host_->Close(app_id());

Powered by Google App Engine
This is Rietveld 408576698