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

Side by Side Diff: chrome/browser/ui/ash/launcher/launcher_item_controller.cc

Issue 2718563008: mash: Use mojo for ShelfItemDelegate and [app] MenuItem. (Closed)
Patch Set: Cleanup; fix ash_shell compile and a couple tests. Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/ui/ash/launcher/launcher_item_controller.h" 5 #include "chrome/browser/ui/ash/launcher/launcher_item_controller.h"
6 6
7 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" 7 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
8 #include "chrome/common/extensions/extension_constants.h" 8 #include "chrome/common/extensions/extension_constants.h"
9 9
10 LauncherItemController::LauncherItemController( 10 LauncherItemController::LauncherItemController(
11 const std::string& app_id, 11 const std::string& app_id,
12 const std::string& launch_id, 12 const std::string& launch_id,
13 ChromeLauncherController* launcher_controller) 13 ChromeLauncherController* launcher_controller)
14 : app_id_(app_id), 14 : app_id_(app_id),
15 launch_id_(launch_id), 15 launch_id_(launch_id),
16 shelf_id_(0), 16 shelf_id_(0),
17 launcher_controller_(launcher_controller), 17 launcher_controller_(launcher_controller),
18 locked_(0), 18 locked_(0),
19 image_set_by_controller_(false) {} 19 image_set_by_controller_(false) {}
20 20
21 LauncherItemController::~LauncherItemController() {} 21 LauncherItemController::~LauncherItemController() {}
22 22
23 ash::ShelfItemDelegate::MenuItemList LauncherItemController::GetAppMenuItems(
24 int event_flags) {
25 return MenuItemList();
26 }
27
23 AppWindowLauncherItemController* 28 AppWindowLauncherItemController*
24 LauncherItemController::AsAppWindowLauncherItemController() { 29 LauncherItemController::AsAppWindowLauncherItemController() {
25 return nullptr; 30 return nullptr;
26 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698