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 #pragma once | |
8 | 7 |
9 namespace ash { | 8 namespace ash { |
10 | 9 |
11 enum ShelfAlignment { | 10 enum ShelfAlignment { |
12 SHELF_ALIGNMENT_BOTTOM, | 11 SHELF_ALIGNMENT_BOTTOM, |
13 SHELF_ALIGNMENT_LEFT, | 12 SHELF_ALIGNMENT_LEFT, |
14 SHELF_ALIGNMENT_RIGHT, | 13 SHELF_ALIGNMENT_RIGHT, |
15 }; | 14 }; |
16 | 15 |
17 enum ShelfAutoHideBehavior { | 16 enum ShelfAutoHideBehavior { |
18 // The default; maximized windows trigger an auto-hide. | 17 // The default; maximized windows trigger an auto-hide. |
19 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT, | 18 SHELF_AUTO_HIDE_BEHAVIOR_DEFAULT, |
20 | 19 |
21 // Always auto-hide. | 20 // Always auto-hide. |
22 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, | 21 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, |
23 | 22 |
24 // Never auto-hide. | 23 // Never auto-hide. |
25 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, | 24 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, |
26 }; | 25 }; |
27 | 26 |
28 } // namespace ash | 27 } // namespace ash |
29 | 28 |
30 #endif // ASH_WM_SHELF_TYPES_H_ | 29 #endif // ASH_WM_SHELF_TYPES_H_ |
OLD | NEW |