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_WM_SHELF_TYPES_H_ |
6 #define ASH_WM_SHELF_TYPES_H_ | 6 #define ASH_WM_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 // The default; maximized windows trigger an auto-hide. | |
18 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT, | |
19 | |
20 // Always auto-hide. | 17 // Always auto-hide. |
21 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, | 18 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, |
22 | 19 |
23 // Never auto-hide. | 20 // Never auto-hide. |
24 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, | 21 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, |
25 }; | 22 }; |
26 | 23 |
27 } // namespace ash | 24 } // namespace ash |
28 | 25 |
29 #endif // ASH_WM_SHELF_TYPES_H_ | 26 #endif // ASH_WM_SHELF_TYPES_H_ |
OLD | NEW |