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

Unified Diff: ash/public/cpp/shelf_application_menu_item.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
« no previous file with comments | « ash/public/cpp/shelf_application_menu_item.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/cpp/shelf_application_menu_item.cc
diff --git a/ash/public/cpp/shelf_application_menu_item.cc b/ash/public/cpp/shelf_application_menu_item.cc
index 77550c994e77d5bcbfe36c57704da8614ffff159..76191eb946c9b7ccb38d825d94625291ea2b9636 100644
--- a/ash/public/cpp/shelf_application_menu_item.cc
+++ b/ash/public/cpp/shelf_application_menu_item.cc
@@ -6,12 +6,13 @@
namespace ash {
-ShelfApplicationMenuItem::ShelfApplicationMenuItem(const base::string16 title,
+ShelfApplicationMenuItem::ShelfApplicationMenuItem(uint32_t command_id,
+ const base::string16& title,
const gfx::Image* icon)
- : title_(title), icon_(icon ? gfx::Image(*icon) : gfx::Image()) {}
+ : command_id_(command_id),
+ title_(title),
+ icon_(icon ? gfx::Image(*icon) : gfx::Image()) {}
ShelfApplicationMenuItem::~ShelfApplicationMenuItem() {}
-void ShelfApplicationMenuItem::Execute(int event_flags) {}
-
} // namespace ash
« no previous file with comments | « ash/public/cpp/shelf_application_menu_item.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698