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 ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // The browser shortcut button. | 29 // The browser shortcut button. |
30 TYPE_BROWSER_SHORTCUT, | 30 TYPE_BROWSER_SHORTCUT, |
31 | 31 |
32 // Represents a platform app. | 32 // Represents a platform app. |
33 TYPE_PLATFORM_APP, | 33 TYPE_PLATFORM_APP, |
34 | 34 |
35 // Represents a windowed V1 browser app. | 35 // Represents a windowed V1 browser app. |
36 TYPE_WINDOWED_APP, | 36 TYPE_WINDOWED_APP, |
37 | 37 |
| 38 // Represents a dialog. |
| 39 TYPE_DIALOG, |
| 40 |
38 // Default value. | 41 // Default value. |
39 TYPE_UNDEFINED, | 42 TYPE_UNDEFINED, |
40 }; | 43 }; |
41 | 44 |
42 // Represents the status of pinned or running app launcher items. | 45 // Represents the status of pinned or running app launcher items. |
43 enum LauncherItemStatus { | 46 enum LauncherItemStatus { |
44 // A closed LauncherItem, i.e. has no live instance. | 47 // A closed LauncherItem, i.e. has no live instance. |
45 STATUS_CLOSED, | 48 STATUS_CLOSED, |
46 // A LauncherItem that has live instance. | 49 // A LauncherItem that has live instance. |
47 STATUS_RUNNING, | 50 STATUS_RUNNING, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Resource id of the image to display on the shelf. | 90 // Resource id of the image to display on the shelf. |
88 int image_resource_id; | 91 int image_resource_id; |
89 | 92 |
90 // Title of the item. | 93 // Title of the item. |
91 base::string16 title; | 94 base::string16 title; |
92 }; | 95 }; |
93 | 96 |
94 } // namespace ash | 97 } // namespace ash |
95 | 98 |
96 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 99 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |