| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // menu. | 133 // menu. |
| 134 extern const float kTrayPopupInkDropHighlightOpacity; | 134 extern const float kTrayPopupInkDropHighlightOpacity; |
| 135 | 135 |
| 136 // The inset applied to clickable surfaces in the system menu that do not have | 136 // The inset applied to clickable surfaces in the system menu that do not have |
| 137 // the ink drop filling the entire bounds. | 137 // the ink drop filling the entire bounds. |
| 138 extern const int kTrayPopupInkDropInset; | 138 extern const int kTrayPopupInkDropInset; |
| 139 | 139 |
| 140 // The radius used to draw the corners of the rounded rect style ink drops. | 140 // The radius used to draw the corners of the rounded rect style ink drops. |
| 141 extern const int kTrayPopupInkDropCornerRadius; | 141 extern const int kTrayPopupInkDropCornerRadius; |
| 142 | 142 |
| 143 // The height of the system info row. |
| 144 extern const int kTrayPopupSystemInfoRowHeight; |
| 145 |
| 143 enum TrayConstant { | 146 enum TrayConstant { |
| 144 // A legacy height value used in non-MD calculations for applying additional | 147 // A legacy height value used in non-MD calculations for applying additional |
| 145 // borders on tray items. | 148 // borders on tray items. |
| 146 TRAY_ITEM_HEIGHT_LEGACY, | 149 TRAY_ITEM_HEIGHT_LEGACY, |
| 147 | 150 |
| 148 // Padding between items in the status tray area. | 151 // Padding between items in the status tray area. |
| 149 TRAY_SPACING, | 152 TRAY_SPACING, |
| 150 | 153 |
| 151 // Padding between the edge of shelf and the item in status tray area. | 154 // Padding between the edge of shelf and the item in status tray area. |
| 152 TRAY_PADDING_FROM_EDGE_OF_SHELF, | 155 TRAY_PADDING_FROM_EDGE_OF_SHELF, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 ASH_EXPORT int GetTrayConstant(TrayConstant constant); | 204 ASH_EXPORT int GetTrayConstant(TrayConstant constant); |
| 202 | 205 |
| 203 namespace test { | 206 namespace test { |
| 204 const int kSettingsTrayItemViewId = 10000; | 207 const int kSettingsTrayItemViewId = 10000; |
| 205 const int kAccessibilityTrayItemViewId = 10001; | 208 const int kAccessibilityTrayItemViewId = 10001; |
| 206 } // namespace test | 209 } // namespace test |
| 207 | 210 |
| 208 } // namespace ash | 211 } // namespace ash |
| 209 | 212 |
| 210 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 213 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |