| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Resource id of the image to display on the shelf. | 84 // Resource id of the image to display on the shelf. |
| 82 int image_resource_id; | 85 int image_resource_id; |
| 83 | 86 |
| 84 // Title of the item. | 87 // Title of the item. |
| 85 base::string16 title; | 88 base::string16 title; |
| 86 }; | 89 }; |
| 87 | 90 |
| 88 } // namespace ash | 91 } // namespace ash |
| 89 | 92 |
| 90 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 93 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
| OLD | NEW |