| 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_item_delegate.h" | 5 #include "ash/public/cpp/shelf_item_delegate.h" |
| 6 | 6 |
| 7 namespace ash { | 7 namespace ash { |
| 8 | 8 |
| 9 ShelfItemDelegate::ShelfItemDelegate(const ash::AppLaunchId& app_launch_id) | 9 ShelfItemDelegate::ShelfItemDelegate(const ash::ShelfID& shelf_id) |
| 10 : app_launch_id_(app_launch_id), | 10 : shelf_id_(shelf_id), image_set_by_controller_(false) {} |
| 11 shelf_id_(kInvalidShelfID), | |
| 12 image_set_by_controller_(false) {} | |
| 13 | 11 |
| 14 ShelfItemDelegate::~ShelfItemDelegate() {} | 12 ShelfItemDelegate::~ShelfItemDelegate() {} |
| 15 | 13 |
| 16 MenuItemList ShelfItemDelegate::GetAppMenuItems(int event_flags) { | 14 MenuItemList ShelfItemDelegate::GetAppMenuItems(int event_flags) { |
| 17 return MenuItemList(); | 15 return MenuItemList(); |
| 18 } | 16 } |
| 19 | 17 |
| 20 AppWindowLauncherItemController* | 18 AppWindowLauncherItemController* |
| 21 ShelfItemDelegate::AsAppWindowLauncherItemController() { | 19 ShelfItemDelegate::AsAppWindowLauncherItemController() { |
| 22 return nullptr; | 20 return nullptr; |
| 23 } | 21 } |
| 24 | 22 |
| 25 } // namespace ash | 23 } // namespace ash |
| OLD | NEW |