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 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/common/shelf/shelf_item_delegate.h" | 10 #include "ash/shelf/shelf_item_delegate.h" |
11 #include "ash/common/shelf/shelf_item_types.h" | 11 #include "ash/shelf/shelf_item_types.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
15 | 15 |
16 class AppWindowLauncherItemController; | 16 class AppWindowLauncherItemController; |
17 class ChromeLauncherController; | 17 class ChromeLauncherController; |
18 | 18 |
19 // LauncherItemController is used by ChromeLauncherController to track one | 19 // LauncherItemController is used by ChromeLauncherController to track one |
20 // or more windows associated with a shelf item. | 20 // or more windows associated with a shelf item. |
21 // TODO (khmel): Consider using ash::AppLauncherId instead of pair | 21 // TODO (khmel): Consider using ash::AppLauncherId instead of pair |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // applications. | 70 // applications. |
71 int locked_; | 71 int locked_; |
72 | 72 |
73 // Set to true if the launcher item image has been set by the controller. | 73 // Set to true if the launcher item image has been set by the controller. |
74 bool image_set_by_controller_; | 74 bool image_set_by_controller_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(LauncherItemController); | 76 DISALLOW_COPY_AND_ASSIGN(LauncherItemController); |
77 }; | 77 }; |
78 | 78 |
79 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ | 79 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ |
OLD | NEW |