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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 TYPE_APP_LIST, | 38 TYPE_APP_LIST, |
39 | 39 |
40 // The browser shortcut button. | 40 // The browser shortcut button. |
41 TYPE_BROWSER_SHORTCUT, | 41 TYPE_BROWSER_SHORTCUT, |
42 }; | 42 }; |
43 | 43 |
44 // Represents the status of pinned or running app launcher items. | 44 // Represents the status of pinned or running app launcher items. |
45 enum ASH_EXPORT LauncherItemStatus { | 45 enum ASH_EXPORT LauncherItemStatus { |
46 STATUS_CLOSED, | 46 STATUS_CLOSED, |
47 STATUS_RUNNING, | 47 STATUS_RUNNING, |
48 STATUS_ACTIVE | 48 STATUS_ACTIVE, |
| 49 STATUS_ATTENTION |
49 }; | 50 }; |
50 | 51 |
51 struct ASH_EXPORT LauncherItem { | 52 struct ASH_EXPORT LauncherItem { |
52 LauncherItem(); | 53 LauncherItem(); |
53 ~LauncherItem(); | 54 ~LauncherItem(); |
54 | 55 |
55 LauncherItemType type; | 56 LauncherItemType type; |
56 | 57 |
57 // Whether it is drawn as an incognito icon or not. Only used if this is | 58 // Whether it is drawn as an incognito icon or not. Only used if this is |
58 // TYPE_TABBED. Note: This cannot be used for identifying incognito windows. | 59 // TYPE_TABBED. Note: This cannot be used for identifying incognito windows. |
(...skipping 14 matching lines...) Expand all Loading... |
73 | 74 |
74 // The direction of the focus cycling. | 75 // The direction of the focus cycling. |
75 enum ASH_EXPORT CycleDirection { | 76 enum ASH_EXPORT CycleDirection { |
76 CYCLE_FORWARD, | 77 CYCLE_FORWARD, |
77 CYCLE_BACKWARD | 78 CYCLE_BACKWARD |
78 }; | 79 }; |
79 | 80 |
80 } // namespace ash | 81 } // namespace ash |
81 | 82 |
82 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 83 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |