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_SHELF_TYPES_H_ | 5 #ifndef ASH_SHELF_TYPES_H_ |
6 #define ASH_SHELF_TYPES_H_ | 6 #define ASH_SHELF_TYPES_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 | 9 |
10 enum ShelfAlignment { | 10 enum ShelfAlignment { |
11 SHELF_ALIGNMENT_BOTTOM, | 11 SHELF_ALIGNMENT_BOTTOM, |
12 SHELF_ALIGNMENT_LEFT, | 12 SHELF_ALIGNMENT_LEFT, |
13 SHELF_ALIGNMENT_RIGHT, | 13 SHELF_ALIGNMENT_RIGHT, |
14 SHELF_ALIGNMENT_TOP, | 14 SHELF_ALIGNMENT_TOP, |
15 }; | 15 }; |
16 | 16 |
17 enum ShelfAutoHideBehavior { | 17 enum ShelfAutoHideBehavior { |
18 // Always auto-hide. | 18 // Always auto-hide. |
19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, | 19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, |
20 | 20 |
21 // Never auto-hide. | 21 // Never auto-hide. |
22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, | 22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, |
| 23 |
| 24 // Always hide. |
| 25 SHELF_AUTO_HIDE_ALWAYS_HIDDEN, |
23 }; | 26 }; |
24 | 27 |
25 enum ShelfVisibilityState { | 28 enum ShelfVisibilityState { |
26 // Always visible. | 29 // Always visible. |
27 SHELF_VISIBLE, | 30 SHELF_VISIBLE, |
28 | 31 |
29 // A couple of pixels are reserved at the bottom for the shelf. | 32 // A couple of pixels are reserved at the bottom for the shelf. |
30 SHELF_AUTO_HIDE, | 33 SHELF_AUTO_HIDE, |
31 | 34 |
32 // Nothing is shown. Used for fullscreen windows. | 35 // Nothing is shown. Used for fullscreen windows. |
33 SHELF_HIDDEN, | 36 SHELF_HIDDEN, |
34 }; | 37 }; |
35 | 38 |
36 enum ShelfAutoHideState { | 39 enum ShelfAutoHideState { |
37 SHELF_AUTO_HIDE_SHOWN, | 40 SHELF_AUTO_HIDE_SHOWN, |
38 SHELF_AUTO_HIDE_HIDDEN, | 41 SHELF_AUTO_HIDE_HIDDEN, |
39 }; | 42 }; |
40 | 43 |
41 } // namespace ash | 44 } // namespace ash |
42 | 45 |
43 #endif // ASH_SHELF_TYPES_H_ | 46 #endif // ASH_SHELF_TYPES_H_ |
OLD | NEW |