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

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

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/common/shelf/shelf_window_watcher_item_delegate.h
diff --git a/ash/common/shelf/shelf_window_watcher_item_delegate.h b/ash/common/shelf/shelf_window_watcher_item_delegate.h
index 592ba73516afb1eeb492b97ee7a5e6c859b4a48e..f0a8c29d802588c2aed643bd636cd57ff2531494 100644
--- a/ash/common/shelf/shelf_window_watcher_item_delegate.h
+++ b/ash/common/shelf/shelf_window_watcher_item_delegate.h
@@ -23,7 +23,7 @@ class ShelfWindowWatcherItemDelegate : public ShelfItemDelegate {
// ShelfItemDelegate overrides:
ShelfItemDelegate::PerformedAction ItemSelected(
const ui::Event& event) override;
- ui::SimpleMenuModel* CreateApplicationMenu(int event_flags) override;
+ ShelfApplicationMenuItems GetAppMenuItems(int event_flags) override;
void Close() override;
ShelfID id_;

Powered by Google App Engine
This is Rietveld 408576698