| OLD | NEW |
| 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 ash::AppLaunchId& app_launch_id, | 11 const ash::AppLaunchId& app_launch_id, |
| 12 ChromeLauncherController* launcher_controller) | 12 ChromeLauncherController* launcher_controller) |
| 13 : app_launch_id_(app_launch_id), | 13 : app_launch_id_(app_launch_id), |
| 14 shelf_id_(0), | 14 shelf_id_(0), |
| 15 launcher_controller_(launcher_controller), | 15 launcher_controller_(launcher_controller), |
| 16 locked_(0), | |
| 17 image_set_by_controller_(false) {} | 16 image_set_by_controller_(false) {} |
| 18 | 17 |
| 19 LauncherItemController::~LauncherItemController() {} | 18 LauncherItemController::~LauncherItemController() {} |
| 20 | 19 |
| 21 MenuItemList LauncherItemController::GetAppMenuItems(int event_flags) { | 20 MenuItemList LauncherItemController::GetAppMenuItems(int event_flags) { |
| 22 return MenuItemList(); | 21 return MenuItemList(); |
| 23 } | 22 } |
| 24 | 23 |
| 25 AppWindowLauncherItemController* | 24 AppWindowLauncherItemController* |
| 26 LauncherItemController::AsAppWindowLauncherItemController() { | 25 LauncherItemController::AsAppWindowLauncherItemController() { |
| 27 return nullptr; | 26 return nullptr; |
| 28 } | 27 } |
| OLD | NEW |