OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CONSTANTS_H_ | 5 #ifndef ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
6 #define ASH_SHELF_SHELF_CONSTANTS_H_ | 6 #define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 | 11 |
| 12 // Max alpha of the shelf background. |
| 13 ASH_EXPORT extern const int kShelfBackgroundAlpha; |
| 14 |
12 // Invalid image resource id used for ShelfItemDetails. | 15 // Invalid image resource id used for ShelfItemDetails. |
13 extern const int kInvalidImageResourceID; | 16 extern const int kInvalidImageResourceID; |
14 | 17 |
15 const int kInvalidShelfID = 0; | 18 const int kInvalidShelfID = 0; |
16 | 19 |
17 // Size of the shelf when visible (height when the shelf is horizontal). | 20 // Size of the shelf when visible (height when the shelf is horizontal). |
18 ASH_EXPORT extern const int kShelfSize; | 21 ASH_EXPORT extern const int kShelfSize; |
19 | 22 |
20 // Size of the space between buttons on the shelf. | 23 // Size of the space between buttons on the shelf. |
21 ASH_EXPORT extern const int kShelfButtonSpacing; | 24 ASH_EXPORT extern const int kShelfButtonSpacing; |
22 | 25 |
23 // Size allocated for each button on the shelf. | 26 // Size allocated for each button on the shelf. |
24 ASH_EXPORT extern const int kShelfButtonSize; | 27 ASH_EXPORT extern const int kShelfButtonSize; |
25 | 28 |
| 29 // Animation duration for switching black shelf and dock background on and off. |
| 30 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
| 31 |
26 // The direction of the focus cycling. | 32 // The direction of the focus cycling. |
27 enum CycleDirection { | 33 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
28 CYCLE_FORWARD, | |
29 CYCLE_BACKWARD | |
30 }; | |
31 | 34 |
32 } // namespace ash | 35 } // namespace ash |
33 | 36 |
34 #endif // ASH_SHELF_SHELF_CONSTANTS_H_ | 37 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
OLD | NEW |