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

Unified Diff: ash/public/cpp/shelf_application_menu_item.cc

Issue 2671923002: mash: Cleanup ash shelf application menu code. (Closed)
Patch Set: Add 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
new file mode 100644
index 0000000000000000000000000000000000000000..77550c994e77d5bcbfe36c57704da8614ffff159
--- /dev/null
+++ b/ash/public/cpp/shelf_application_menu_item.cc
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/public/cpp/shelf_application_menu_item.h"
+
+namespace ash {
+
+ShelfApplicationMenuItem::ShelfApplicationMenuItem(const base::string16 title,
+ const gfx::Image* icon)
+ : 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