OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_COMMON_SHELF_SHELF_TYPES_H_ | |
6 #define ASH_COMMON_SHELF_SHELF_TYPES_H_ | |
7 | |
8 namespace ash { | |
9 | |
10 enum ShelfAlignment { | |
11 SHELF_ALIGNMENT_BOTTOM, | |
12 SHELF_ALIGNMENT_LEFT, | |
13 SHELF_ALIGNMENT_RIGHT, | |
14 // Top has never been supported. | |
15 | |
16 // The locked alignment is set temporarily and not saved to preferences. | |
17 SHELF_ALIGNMENT_BOTTOM_LOCKED, | |
18 }; | |
19 | |
20 enum ShelfAutoHideBehavior { | |
21 // Always auto-hide. | |
22 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, | |
23 | |
24 // Never auto-hide. | |
25 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, | |
26 | |
27 // Always hide. | |
28 SHELF_AUTO_HIDE_ALWAYS_HIDDEN, | |
29 }; | |
30 | |
31 enum ShelfAutoHideState { | |
32 SHELF_AUTO_HIDE_SHOWN, | |
33 SHELF_AUTO_HIDE_HIDDEN, | |
34 }; | |
35 | |
36 enum ShelfVisibilityState { | |
37 // Always visible. | |
38 SHELF_VISIBLE, | |
39 | |
40 // A couple of pixels are reserved at the bottom for the shelf. | |
41 SHELF_AUTO_HIDE, | |
42 | |
43 // Nothing is shown. Used for fullscreen windows. | |
44 SHELF_HIDDEN, | |
45 }; | |
46 | |
47 enum ShelfBackgroundType { | |
48 // The default transparent background. | |
49 SHELF_BACKGROUND_DEFAULT, | |
50 | |
51 // The background when a window is overlapping. | |
52 SHELF_BACKGROUND_OVERLAP, | |
53 | |
54 // The background when a window is maximized. | |
55 SHELF_BACKGROUND_MAXIMIZED, | |
56 }; | |
57 | |
58 } // namespace ash | |
59 | |
60 #endif // ASH_COMMON_SHELF_SHELF_TYPES_H_ | |
OLD | NEW |