| 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 21 matching lines...) Expand all Loading... |
| 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 extern const int kTrayPopupAutoCloseDelayInSeconds; | 37 extern const int kTrayPopupAutoCloseDelayInSeconds; |
| 38 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; | 38 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; |
| 39 extern const int kTrayPopupPaddingHorizontal; | 39 extern const int kTrayPopupPaddingHorizontal; |
| 40 extern const int kTrayPopupPaddingBetweenItems; | 40 extern const int kTrayPopupPaddingBetweenItems; |
| 41 extern const int kTrayPopupUserCardVerticalPadding; | 41 extern const int kTrayPopupUserCardVerticalPadding; |
| 42 | |
| 43 // The padding used on the left and right of labels. This applies to all labels | 42 // The padding used on the left and right of labels. This applies to all labels |
| 44 // in the system menu. | 43 // in the system menu. |
| 45 extern const int kTrayPopupLabelHorizontalPadding; | 44 extern const int kTrayPopupLabelHorizontalPadding; |
| 46 | 45 |
| 47 // Padding used to adjust the slider position in volume row and brightness | 46 // Padding used to adjust the slider position in volume row and brightness |
| 48 // row horizontally. | 47 // row horizontally. |
| 49 extern const int kTrayPopupSliderPaddingMD; | 48 extern const int kTrayPopupSliderPaddingMD; |
| 50 | 49 |
| 51 extern const int kTrayPopupDetailsIconWidth; | 50 extern const int kTrayPopupDetailsIconWidth; |
| 52 extern const int kTrayPopupDetailsLabelExtraLeftMargin; | 51 extern const int kTrayPopupDetailsLabelExtraLeftMargin; |
| 53 extern const SkColor kTrayPopupHoverBackgroundColor; | 52 extern const SkColor kTrayPopupHoverBackgroundColor; |
| 54 extern const int kTrayPopupScrollSeparatorHeight; | 53 extern const int kTrayPopupScrollSeparatorHeight; |
| 55 extern const int kTrayRoundedBorderRadius; | 54 extern const int kTrayRoundedBorderRadius; |
| 56 | 55 |
| 56 // The padding used on the left and right of labels. |
| 57 extern const int kTrayPopupLabelHorizontalPadding; |
| 58 |
| 57 extern const SkColor kBackgroundColor; | 59 extern const SkColor kBackgroundColor; |
| 58 extern const SkColor kHoverBackgroundColor; | 60 extern const SkColor kHoverBackgroundColor; |
| 59 extern const SkColor kPublicAccountBackgroundColor; | 61 extern const SkColor kPublicAccountBackgroundColor; |
| 60 extern const SkColor kPublicAccountUserCardTextColor; | 62 extern const SkColor kPublicAccountUserCardTextColor; |
| 61 extern const SkColor kPublicAccountUserCardNameColor; | 63 extern const SkColor kPublicAccountUserCardNameColor; |
| 62 | 64 |
| 63 extern const SkColor kHeaderBackgroundColor; | 65 extern const SkColor kHeaderBackgroundColor; |
| 64 | 66 |
| 65 extern const SkColor kBorderDarkColor; | 67 extern const SkColor kBorderDarkColor; |
| 66 extern const SkColor kBorderLightColor; | 68 extern const SkColor kBorderLightColor; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 int GetTrayConstant(TrayConstant constant); | 171 int GetTrayConstant(TrayConstant constant); |
| 170 | 172 |
| 171 namespace test { | 173 namespace test { |
| 172 const int kSettingsTrayItemViewId = 10000; | 174 const int kSettingsTrayItemViewId = 10000; |
| 173 const int kAccessibilityTrayItemViewId = 10001; | 175 const int kAccessibilityTrayItemViewId = 10001; |
| 174 } // namespace test | 176 } // namespace test |
| 175 | 177 |
| 176 } // namespace ash | 178 } // namespace ash |
| 177 | 179 |
| 178 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 180 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |