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

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

Issue 2716403005: mash: Remove shelf app menu item objects. (Closed)
Patch Set: Fix ash_shell compile 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/shelf_window_watcher_item_delegate.cc
diff --git a/ash/common/shelf/shelf_window_watcher_item_delegate.cc b/ash/common/shelf/shelf_window_watcher_item_delegate.cc
index 2b56a38004a8ebeb08607d8ce27c5f503037a476..b04360b11b9c224339cf2e99218e0b25311d9bda 100644
--- a/ash/common/shelf/shelf_window_watcher_item_delegate.cc
+++ b/ash/common/shelf/shelf_window_watcher_item_delegate.cc
@@ -65,6 +65,12 @@ ShelfAppMenuItemList ShelfWindowWatcherItemDelegate::GetAppMenuItems(
return ShelfAppMenuItemList();
}
+void ShelfWindowWatcherItemDelegate::ExecuteCommand(uint32_t command_id,
+ int32_t event_flags) {
+ // This delegate does not support showing an application menu.
+ NOTIMPLEMENTED();
+}
+
void ShelfWindowWatcherItemDelegate::Close() {
window_->CloseWidget();
}

Powered by Google App Engine
This is Rietveld 408576698