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

Side by Side Diff: ash/public/cpp/shelf_item_delegate.cc

Issue 2791803002: mash: Move LauncherItemController to ash, rename ShelfItemDelegate. (Closed)
Patch Set: Move shelf_item_delegate to ash/public/cpp, cleanup. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/public/cpp/shelf_item_delegate.h"
6
7 namespace ash {
8
9 ShelfItemDelegate::ShelfItemDelegate(const ash::AppLaunchId& app_launch_id)
10 : app_launch_id_(app_launch_id),
11 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)
12 image_set_by_controller_(false) {}
13
14 ShelfItemDelegate::~ShelfItemDelegate() {}
15
16 MenuItemList ShelfItemDelegate::GetAppMenuItems(int event_flags) {
17 return MenuItemList();
18 }
19
20 AppWindowLauncherItemController*
21 ShelfItemDelegate::AsAppWindowLauncherItemController() {
22 return nullptr;
23 }
24
25 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698