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_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 typedef unsigned int SkColor; | 10 typedef unsigned int SkColor; |
(...skipping 16 matching lines...) Expand all Loading... |
27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; | 27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; |
28 | 28 |
29 ASH_EXPORT extern const int kTrayItemSize; | 29 ASH_EXPORT extern const int kTrayItemSize; |
30 | 30 |
31 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; | 31 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; |
32 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; | 32 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; |
33 | 33 |
34 extern const int kTrayMenuBottomRowPadding; | 34 extern const int kTrayMenuBottomRowPadding; |
35 extern const int kTrayMenuBottomRowPaddingBetweenItems; | 35 extern const int kTrayMenuBottomRowPaddingBetweenItems; |
36 | 36 |
| 37 // The minimum width of the tray menu. |
| 38 extern const int kTrayMenuMinimumWidth; |
| 39 extern const int kTrayMenuMinimumWidthMd; |
| 40 |
37 extern const int kTrayPopupAutoCloseDelayInSeconds; | 41 extern const int kTrayPopupAutoCloseDelayInSeconds; |
38 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; | 42 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; |
39 extern const int kTrayPopupPaddingHorizontal; | 43 extern const int kTrayPopupPaddingHorizontal; |
40 extern const int kTrayPopupPaddingBetweenItems; | 44 extern const int kTrayPopupPaddingBetweenItems; |
41 // Used for buttons that have borders. | 45 // Used for buttons that have borders. |
42 extern const int kTrayPopupButtonEndMargin; | 46 extern const int kTrayPopupButtonEndMargin; |
43 extern const int kTrayPopupUserCardVerticalPadding; | 47 extern const int kTrayPopupUserCardVerticalPadding; |
44 // The padding used on the left and right of labels. This applies to all labels | 48 // The padding used on the left and right of labels. This applies to all labels |
45 // in the system menu. | 49 // in the system menu. |
46 extern const int kTrayPopupLabelHorizontalPadding; | 50 extern const int kTrayPopupLabelHorizontalPadding; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ASH_EXPORT int GetTrayConstant(TrayConstant constant); | 201 ASH_EXPORT int GetTrayConstant(TrayConstant constant); |
198 | 202 |
199 namespace test { | 203 namespace test { |
200 const int kSettingsTrayItemViewId = 10000; | 204 const int kSettingsTrayItemViewId = 10000; |
201 const int kAccessibilityTrayItemViewId = 10001; | 205 const int kAccessibilityTrayItemViewId = 10001; |
202 } // namespace test | 206 } // namespace test |
203 | 207 |
204 } // namespace ash | 208 } // namespace ash |
205 | 209 |
206 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 210 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
OLD | NEW |