| 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_PUBLIC_CPP_SHELF_TYPES_H_ | 5 #ifndef ASH_PUBLIC_CPP_SHELF_TYPES_H_ |
| 6 #define ASH_PUBLIC_CPP_SHELF_TYPES_H_ | 6 #define ASH_PUBLIC_CPP_SHELF_TYPES_H_ |
| 7 | 7 |
| 8 namespace ash { | 8 namespace ash { |
| 9 | 9 |
| 10 enum ShelfAlignment { | 10 enum ShelfAlignment { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 TYPE_APP_SHORTCUT, | 97 TYPE_APP_SHORTCUT, |
| 98 | 98 |
| 99 // Toggles visiblity of the app list. | 99 // Toggles visiblity of the app list. |
| 100 TYPE_APP_LIST, | 100 TYPE_APP_LIST, |
| 101 | 101 |
| 102 // The browser shortcut button. | 102 // The browser shortcut button. |
| 103 TYPE_BROWSER_SHORTCUT, | 103 TYPE_BROWSER_SHORTCUT, |
| 104 | 104 |
| 105 // Represents an app: Extension "V1" (legacy packaged and hosted) apps, | 105 // Represents an app: Extension "V1" (legacy packaged and hosted) apps, |
| 106 // Extension "V2" (platform) apps, | 106 // Extension "V2" (platform) apps, |
| 107 // Arc (App Runtime for Chrome - Android Play Store) apps. | 107 // ARC (App Runtime for Chrome - Android Play Store) apps. |
| 108 TYPE_APP, | 108 TYPE_APP, |
| 109 | 109 |
| 110 // Represents a dialog. | 110 // Represents a dialog. |
| 111 TYPE_DIALOG, | 111 TYPE_DIALOG, |
| 112 | 112 |
| 113 // Default value. | 113 // Default value. |
| 114 TYPE_UNDEFINED, | 114 TYPE_UNDEFINED, |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 // Represents the status of applications in the shelf. | 117 // Represents the status of applications in the shelf. |
| 118 enum ShelfItemStatus { | 118 enum ShelfItemStatus { |
| 119 // A closed shelf item, i.e. has no live instance. | 119 // A closed shelf item, i.e. has no live instance. |
| 120 STATUS_CLOSED, | 120 STATUS_CLOSED, |
| 121 // A shelf item that has live instance. | 121 // A shelf item that has live instance. |
| 122 STATUS_RUNNING, | 122 STATUS_RUNNING, |
| 123 // An active shelf item that has focus. | 123 // An active shelf item that has focus. |
| 124 STATUS_ACTIVE, | 124 STATUS_ACTIVE, |
| 125 // A shelf item that needs user's attention. | 125 // A shelf item that needs user's attention. |
| 126 STATUS_ATTENTION, | 126 STATUS_ATTENTION, |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace ash | 129 } // namespace ash |
| 130 | 130 |
| 131 #endif // ASH_PUBLIC_CPP_SHELF_TYPES_H_ | 131 #endif // ASH_PUBLIC_CPP_SHELF_TYPES_H_ |
| OLD | NEW |