Chromium Code Reviews| Index: ash/public/cpp/shelf_item_delegate.cc |
| diff --git a/ash/public/cpp/shelf_item_delegate.cc b/ash/public/cpp/shelf_item_delegate.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a5c5cad15ffa374be557c6c8029d4441724ba56c |
| --- /dev/null |
| +++ b/ash/public/cpp/shelf_item_delegate.cc |
| @@ -0,0 +1,25 @@ |
| +// 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_item_delegate.h" |
| + |
| +namespace ash { |
| + |
| +ShelfItemDelegate::ShelfItemDelegate(const ash::AppLaunchId& app_launch_id) |
| + : app_launch_id_(app_launch_id), |
| + shelf_id_(0), |
|
James Cook
2017/04/04 15:34:45
nit: Is there a constant for invalid?
msw
2017/04/04 18:53:09
Done. (kInvalidShelfID)
|
| + image_set_by_controller_(false) {} |
| + |
| +ShelfItemDelegate::~ShelfItemDelegate() {} |
| + |
| +MenuItemList ShelfItemDelegate::GetAppMenuItems(int event_flags) { |
| + return MenuItemList(); |
| +} |
| + |
| +AppWindowLauncherItemController* |
| +ShelfItemDelegate::AsAppWindowLauncherItemController() { |
| + return nullptr; |
| +} |
| + |
| +} // namespace ash |