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

Unified Diff: ash/shell/window_watcher_shelf_item_delegate.cc

Issue 2671923002: mash: Cleanup ash shelf application menu code. (Closed)
Patch Set: Fix tests; cleanup. 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/shell/window_watcher_shelf_item_delegate.cc
diff --git a/ash/shell/window_watcher_shelf_item_delegate.cc b/ash/shell/window_watcher_shelf_item_delegate.cc
index cfceb3c32b56b46eb32805162112861120812e86..502586eaabf63a6fc9a1760aff898d0cfe6d6965 100644
--- a/ash/shell/window_watcher_shelf_item_delegate.cc
+++ b/ash/shell/window_watcher_shelf_item_delegate.cc
@@ -31,9 +31,9 @@ ShelfItemDelegate::PerformedAction WindowWatcherShelfItemDelegate::ItemSelected(
return kExistingWindowActivated;
}
-ui::SimpleMenuModel* WindowWatcherShelfItemDelegate::CreateApplicationMenu(
+ShelfApplicationMenuItems WindowWatcherShelfItemDelegate::GetAppMenuItems(
int event_flags) {
- return nullptr;
+ return ShelfApplicationMenuItems();
James Cook 2017/02/06 17:30:21 Given that the type of ShelfApplicationMenuItems i
msw 2017/02/07 09:12:01 I added comments, renamed to ShelfAppMenuItemList,
}
void WindowWatcherShelfItemDelegate::Close() {}

Powered by Google App Engine
This is Rietveld 408576698