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