| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // Used for buttons that have borders. | 45 // Used for buttons that have borders. |
| 46 extern const int kTrayPopupButtonEndMargin; | 46 extern const int kTrayPopupButtonEndMargin; |
| 47 // The padding used on the left and right of labels. This applies to all labels | 47 // The padding used on the left and right of labels. This applies to all labels |
| 48 // in the system menu. | 48 // in the system menu. |
| 49 extern const int kTrayPopupLabelHorizontalPadding; | 49 extern const int kTrayPopupLabelHorizontalPadding; |
| 50 | 50 |
| 51 // When transitioning between a detailed and a default view, this delay is used | 51 // When transitioning between a detailed and a default view, this delay is used |
| 52 // before the transition starts. | 52 // before the transition starts. |
| 53 ASH_EXPORT extern const int kTrayDetailedViewTransitionDelayMs; | 53 ASH_EXPORT extern const int kTrayDetailedViewTransitionDelayMs; |
| 54 | 54 |
| 55 // Padding used to adjust the slider position in volume row and brightness | |
| 56 // row horizontally. | |
| 57 extern const int kTrayPopupSliderPaddingMD; | |
| 58 | |
| 59 // Padding used on right side of labels to keep minimum distance to the next | 55 // Padding used on right side of labels to keep minimum distance to the next |
| 60 // item. This applies to all labels in the system menu. | 56 // item. This applies to all labels in the system menu. |
| 61 extern const int kTrayPopupLabelRightPadding; | 57 extern const int kTrayPopupLabelRightPadding; |
| 62 | 58 |
| 63 extern const int kTrayPopupDetailsIconWidth; | 59 extern const int kTrayPopupDetailsIconWidth; |
| 64 extern const int kTrayPopupDetailsLabelExtraLeftMargin; | 60 extern const int kTrayPopupDetailsLabelExtraLeftMargin; |
| 65 extern const SkColor kTrayPopupHoverBackgroundColor; | 61 extern const SkColor kTrayPopupHoverBackgroundColor; |
| 66 extern const int kTrayPopupScrollSeparatorHeight; | 62 extern const int kTrayPopupScrollSeparatorHeight; |
| 67 extern const int kTrayRoundedBorderRadius; | 63 extern const int kTrayRoundedBorderRadius; |
| 68 | 64 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 ASH_EXPORT int GetTrayConstant(TrayConstant constant); | 187 ASH_EXPORT int GetTrayConstant(TrayConstant constant); |
| 192 | 188 |
| 193 namespace test { | 189 namespace test { |
| 194 const int kSettingsTrayItemViewId = 10000; | 190 const int kSettingsTrayItemViewId = 10000; |
| 195 const int kAccessibilityTrayItemViewId = 10001; | 191 const int kAccessibilityTrayItemViewId = 10001; |
| 196 } // namespace test | 192 } // namespace test |
| 197 | 193 |
| 198 } // namespace ash | 194 } // namespace ash |
| 199 | 195 |
| 200 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 196 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |