| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // Represents the status of pinned or running app launcher items. | 49 // Represents the status of pinned or running app launcher items. |
| 50 enum LauncherItemStatus { | 50 enum LauncherItemStatus { |
| 51 // A closed LauncherItem, i.e. has no live instance. | 51 // A closed LauncherItem, i.e. has no live instance. |
| 52 STATUS_CLOSED, | 52 STATUS_CLOSED, |
| 53 // A LauncherItem that has live instance. | 53 // A LauncherItem that has live instance. |
| 54 STATUS_RUNNING, | 54 STATUS_RUNNING, |
| 55 // An active LauncherItem that has focus. | 55 // An active LauncherItem that has focus. |
| 56 STATUS_ACTIVE, | 56 STATUS_ACTIVE, |
| 57 // A LauncherItem that needs user's attention. | 57 // A LauncherItem that needs user's attention. |
| 58 STATUS_ATTENTION, | 58 STATUS_ATTENTION, |
| 59 // A LauncherItem that has pending operations. | |
| 60 // e.g. A TYEE_APP_SHORTCUT item whose application is | |
| 61 // being installed/upgraded. | |
| 62 // Note STATUS_PENDING is a macro in WinNT.h on Windows. | |
| 63 STATUS_IS_PENDING, | |
| 64 }; | 59 }; |
| 65 | 60 |
| 66 struct ASH_EXPORT LauncherItem { | 61 struct ASH_EXPORT LauncherItem { |
| 67 LauncherItem(); | 62 LauncherItem(); |
| 68 ~LauncherItem(); | 63 ~LauncherItem(); |
| 69 | 64 |
| 70 LauncherItemType type; | 65 LauncherItemType type; |
| 71 | 66 |
| 72 // Whether it is drawn as an incognito icon or not. Only used if this is | 67 // Whether it is drawn as an incognito icon or not. Only used if this is |
| 73 // TYPE_TABBED. Note: This cannot be used for identifying incognito windows. | 68 // TYPE_TABBED. Note: This cannot be used for identifying incognito windows. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 88 | 83 |
| 89 // The direction of the focus cycling. | 84 // The direction of the focus cycling. |
| 90 enum CycleDirection { | 85 enum CycleDirection { |
| 91 CYCLE_FORWARD, | 86 CYCLE_FORWARD, |
| 92 CYCLE_BACKWARD | 87 CYCLE_BACKWARD |
| 93 }; | 88 }; |
| 94 | 89 |
| 95 } // namespace ash | 90 } // namespace ash |
| 96 | 91 |
| 97 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 92 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
| OLD | NEW |