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

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

Issue 2860503002: mash: Replace int ShelfIDs with AppLaunchID strings. (Closed)
Patch Set: Restore AppLaunchId class via using ShelfID = AppLaunchId; cleanup. Created 3 years, 7 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698