| 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_SHELF_TYPES_H_ | 5 #ifndef ASH_SHELF_SHELF_TYPES_H_ |
| 6 #define ASH_SHELF_SHELF_TYPES_H_ | 6 #define ASH_SHELF_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 // Top has never been supported. | 14 // Top has never been supported. |
| 15 |
| 16 // The locked alignment is set temporarily and not saved to preferences. |
| 17 SHELF_ALIGNMENT_BOTTOM_LOCKED, |
| 15 }; | 18 }; |
| 16 | 19 |
| 17 enum ShelfAutoHideBehavior { | 20 enum ShelfAutoHideBehavior { |
| 18 // Always auto-hide. | 21 // Always auto-hide. |
| 19 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, | 22 SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS, |
| 20 | 23 |
| 21 // Never auto-hide. | 24 // Never auto-hide. |
| 22 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, | 25 SHELF_AUTO_HIDE_BEHAVIOR_NEVER, |
| 23 | 26 |
| 24 // Always hide. | 27 // Always hide. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 48 // The background when a window is overlapping. | 51 // The background when a window is overlapping. |
| 49 SHELF_BACKGROUND_OVERLAP, | 52 SHELF_BACKGROUND_OVERLAP, |
| 50 | 53 |
| 51 // The background when a window is maximized. | 54 // The background when a window is maximized. |
| 52 SHELF_BACKGROUND_MAXIMIZED, | 55 SHELF_BACKGROUND_MAXIMIZED, |
| 53 }; | 56 }; |
| 54 | 57 |
| 55 } // namespace ash | 58 } // namespace ash |
| 56 | 59 |
| 57 #endif // ASH_SHELF_SHELF_TYPES_H_ | 60 #endif // ASH_SHELF_SHELF_TYPES_H_ |
| OLD | NEW |