| 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_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| 6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 6 #define ASH_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 15 matching lines...) Expand all Loading... |
| 26 // items like labels and buttons. | 26 // items like labels and buttons. |
| 27 extern const int kTrayTextFontSizeIncrease; | 27 extern const int kTrayTextFontSizeIncrease; |
| 28 | 28 |
| 29 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; | 29 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; |
| 30 | 30 |
| 31 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; | 31 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; |
| 32 | 32 |
| 33 ASH_EXPORT extern const int kTrayItemSize; | 33 ASH_EXPORT extern const int kTrayItemSize; |
| 34 | 34 |
| 35 // Extra padding used beside a single icon in the tray area of the shelf. | 35 // Extra padding used beside a single icon in the tray area of the shelf. |
| 36 extern const int kTrayImageItemPadding; | 36 constexpr int kTrayImageItemPadding = 3; |
| 37 | 37 |
| 38 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; | 38 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; |
| 39 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; | 39 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; |
| 40 | 40 |
| 41 extern const int kTrayMenuBottomRowPadding; | 41 extern const int kTrayMenuBottomRowPadding; |
| 42 extern const int kTrayMenuBottomRowPaddingBetweenItems; | 42 extern const int kTrayMenuBottomRowPaddingBetweenItems; |
| 43 | 43 |
| 44 // The minimum width of the tray menu. | 44 // The minimum width of the tray menu. |
| 45 extern const int kTrayMenuMinimumWidth; | 45 extern const int kTrayMenuMinimumWidth; |
| 46 | 46 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // The color of the separators used in the system menu. | 99 // The color of the separators used in the system menu. |
| 100 extern const SkColor kMenuSeparatorColor; | 100 extern const SkColor kMenuSeparatorColor; |
| 101 | 101 |
| 102 // The size and foreground color of the icons appearing in the material design | 102 // The size and foreground color of the icons appearing in the material design |
| 103 // system tray. | 103 // system tray. |
| 104 extern const int kTrayIconSize; | 104 extern const int kTrayIconSize; |
| 105 extern const SkColor kTrayIconColor; | 105 extern const SkColor kTrayIconColor; |
| 106 | 106 |
| 107 // The total visual padding at the start and end of the icon/label section | 107 // The total visual padding at the start and end of the icon/label section |
| 108 // of the tray. | 108 // of the tray. |
| 109 extern const int kTrayEdgePadding; | 109 constexpr int kTrayEdgePadding = 6; |
| 110 | 110 |
| 111 // The size and foreground color of the icons appearing in the material design | 111 // The size and foreground color of the icons appearing in the material design |
| 112 // system menu. | 112 // system menu. |
| 113 extern const int kMenuIconSize; | 113 extern const int kMenuIconSize; |
| 114 extern const SkColor kMenuIconColor; | 114 extern const SkColor kMenuIconColor; |
| 115 extern const SkColor kMenuIconColorDisabled; | 115 extern const SkColor kMenuIconColorDisabled; |
| 116 // The size of buttons in the system menu. | 116 // The size of buttons in the system menu. |
| 117 ASH_EXPORT extern const int kMenuButtonSize; | 117 ASH_EXPORT extern const int kMenuButtonSize; |
| 118 // The vertical padding for the system menu separator. | 118 // The vertical padding for the system menu separator. |
| 119 extern const int kMenuSeparatorVerticalPadding; | 119 extern const int kMenuSeparatorVerticalPadding; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 143 extern const int kTrayPopupSystemInfoRowHeight; | 143 extern const int kTrayPopupSystemInfoRowHeight; |
| 144 | 144 |
| 145 namespace test { | 145 namespace test { |
| 146 const int kSettingsTrayItemViewId = 10000; | 146 const int kSettingsTrayItemViewId = 10000; |
| 147 const int kAccessibilityTrayItemViewId = 10001; | 147 const int kAccessibilityTrayItemViewId = 10001; |
| 148 } // namespace test | 148 } // namespace test |
| 149 | 149 |
| 150 } // namespace ash | 150 } // namespace ash |
| 151 | 151 |
| 152 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 152 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |