| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/public/cpp/shelf_application_menu_item.h" | 5 #include "ash/public/cpp/shelf_application_menu_item.h" |
| 6 | 6 |
| 7 namespace ash { | 7 namespace ash { |
| 8 | 8 |
| 9 ShelfApplicationMenuItem::ShelfApplicationMenuItem(const base::string16 title, | 9 ShelfApplicationMenuItem::ShelfApplicationMenuItem(uint32_t command_id, |
| 10 const base::string16& title, |
| 10 const gfx::Image* icon) | 11 const gfx::Image* icon) |
| 11 : title_(title), icon_(icon ? gfx::Image(*icon) : gfx::Image()) {} | 12 : command_id_(command_id), |
| 13 title_(title), |
| 14 icon_(icon ? gfx::Image(*icon) : gfx::Image()) {} |
| 12 | 15 |
| 13 ShelfApplicationMenuItem::~ShelfApplicationMenuItem() {} | 16 ShelfApplicationMenuItem::~ShelfApplicationMenuItem() {} |
| 14 | 17 |
| 15 void ShelfApplicationMenuItem::Execute(int event_flags) {} | |
| 16 | |
| 17 } // namespace ash | 18 } // namespace ash |
| OLD | NEW |