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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 typedef std::vector<LauncherItem> LauncherItems; | 85 typedef std::vector<LauncherItem> LauncherItems; |
86 | 86 |
87 // The direction of the focus cycling. | 87 // The direction of the focus cycling. |
88 enum CycleDirection { | 88 enum CycleDirection { |
89 CYCLE_FORWARD, | 89 CYCLE_FORWARD, |
90 CYCLE_BACKWARD | 90 CYCLE_BACKWARD |
91 }; | 91 }; |
92 | 92 |
93 // LauncherItemDetails may be set on Window (by way of | 93 // LauncherItemDetails may be set on Window (by way of |
94 // SetLauncherItemDetailsForWindow) to make the window appear in the shelf. See | 94 // SetShelfItemDetailsForWindow) to make the window appear in the shelf. See |
95 // ShelfWindowWatcher for details. | 95 // ShelfWindowWatcher for details. |
96 struct ASH_EXPORT LauncherItemDetails { | 96 struct ASH_EXPORT LauncherItemDetails { |
97 LauncherItemDetails(); | 97 LauncherItemDetails(); |
98 ~LauncherItemDetails(); | 98 ~LauncherItemDetails(); |
99 | 99 |
100 LauncherItemType type; | 100 LauncherItemType type; |
101 | 101 |
102 // Resource id of the image to display on the shelf. | 102 // Resource id of the image to display on the shelf. |
103 int image_resource_id; | 103 int image_resource_id; |
104 | 104 |
105 // Title of the item. | 105 // Title of the item. |
106 base::string16 title; | 106 base::string16 title; |
107 }; | 107 }; |
108 | 108 |
109 } // namespace ash | 109 } // namespace ash |
110 | 110 |
111 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ | 111 #endif // ASH_LAUNCHER_LAUNCHER_TYPES_H_ |
OLD | NEW |