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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 extern const int kTrayPopupMinWidth; | 82 extern const int kTrayPopupMinWidth; |
83 extern const int kTrayPopupMaxWidth; | 83 extern const int kTrayPopupMaxWidth; |
84 extern const int kNotificationIconWidth; | 84 extern const int kNotificationIconWidth; |
85 extern const int kNotificationButtonWidth; | 85 extern const int kNotificationButtonWidth; |
86 extern const int kTrayNotificationContentsWidth; | 86 extern const int kTrayNotificationContentsWidth; |
87 | 87 |
88 // Extra padding used to adjust hitting region around tray items. | 88 // Extra padding used to adjust hitting region around tray items. |
89 extern const int kHitRegionPadding; | 89 extern const int kHitRegionPadding; |
90 | 90 |
91 // Color and width of a line used to separate tray items in the shelf and | 91 // Color and width of a line used to separate tray items in the shelf. |
92 // system menu. | 92 extern const SkColor kTraySeparatorColor; |
93 extern const SkColor kSeparatorColor; | |
94 ASH_EXPORT extern const int kSeparatorWidth; | 93 ASH_EXPORT extern const int kSeparatorWidth; |
95 | 94 |
96 // The color and height of the horizontal separator used in the material design | 95 // The color of the separators used in the system menu. |
97 // system menu (i.e., the vertical line used to separate elements horizontally). | 96 extern const SkColor kMenuSeparatorColor; |
98 extern const SkColor kHorizontalSeparatorColor; | |
99 extern const int kHorizontalSeparatorHeight; | |
100 | 97 |
101 // The size and foreground color of the icons appearing in the material design | 98 // The size and foreground color of the icons appearing in the material design |
102 // system tray. | 99 // system tray. |
103 extern const int kTrayIconSize; | 100 extern const int kTrayIconSize; |
104 extern const SkColor kTrayIconColor; | 101 extern const SkColor kTrayIconColor; |
105 | 102 |
106 // The total visual padding at the start and end of the icon/label section | 103 // The total visual padding at the start and end of the icon/label section |
107 // of the tray. | 104 // of the tray. |
108 extern const int kTrayEdgePadding; | 105 extern const int kTrayEdgePadding; |
109 | 106 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 ASH_EXPORT int GetTrayConstant(TrayConstant constant); | 199 ASH_EXPORT int GetTrayConstant(TrayConstant constant); |
203 | 200 |
204 namespace test { | 201 namespace test { |
205 const int kSettingsTrayItemViewId = 10000; | 202 const int kSettingsTrayItemViewId = 10000; |
206 const int kAccessibilityTrayItemViewId = 10001; | 203 const int kAccessibilityTrayItemViewId = 10001; |
207 } // namespace test | 204 } // namespace test |
208 | 205 |
209 } // namespace ash | 206 } // namespace ash |
210 | 207 |
211 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 208 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
OLD | NEW |