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 #include "ash/system/tray/tray_constants.h" | 5 #include "ash/system/tray/tray_constants.h" |
6 | 6 |
7 #include "third_party/skia/include/core/SkColor.h" | 7 #include "third_party/skia/include/core/SkColor.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 const int kTrayPopupTextSpacingVertical = 4; | 28 const int kTrayPopupTextSpacingVertical = 4; |
29 | 29 |
30 const int kTrayPopupItemHeight = 48; | 30 const int kTrayPopupItemHeight = 48; |
31 const int kTrayPopupDetailsIconWidth = 25; | 31 const int kTrayPopupDetailsIconWidth = 25; |
32 const int kTrayRoundedBorderRadius = 2; | 32 const int kTrayRoundedBorderRadius = 2; |
33 const int kTrayBarButtonWidth = 39; | 33 const int kTrayBarButtonWidth = 39; |
34 | 34 |
35 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); | 35 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); |
36 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); | 36 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); |
37 const SkColor kPublicAccountBackgroundColor = SkColorSetRGB(0xf8, 0xe5, 0xb6); | 37 const SkColor kPublicAccountBackgroundColor = SkColorSetRGB(0xf8, 0xe5, 0xb6); |
| 38 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); |
| 39 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; |
38 | 40 |
39 const SkColor kHeaderBackgroundColorLight = SkColorSetRGB(0xf1, 0xf1, 0xf1); | 41 const SkColor kHeaderBackgroundColorLight = SkColorSetRGB(0xf1, 0xf1, 0xf1); |
40 const SkColor kHeaderBackgroundColorDark = SkColorSetRGB(0xe7, 0xe7, 0xe7); | 42 const SkColor kHeaderBackgroundColorDark = SkColorSetRGB(0xe7, 0xe7, 0xe7); |
41 | 43 |
42 const SkColor kBorderDarkColor = SkColorSetRGB(0xaa, 0xaa, 0xaa); | 44 const SkColor kBorderDarkColor = SkColorSetRGB(0xaa, 0xaa, 0xaa); |
43 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); | 45 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); |
44 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd); | 46 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd); |
45 | 47 |
46 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); | 48 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); |
47 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); | 49 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); |
48 | 50 |
49 const int kTrayPopupWidth = 300; | 51 const int kTrayPopupMinWidth = 300; |
| 52 const int kTrayPopupMaxWidth = 500; |
50 const int kNotificationIconWidth = 40; | 53 const int kNotificationIconWidth = 40; |
51 const int kTrayNotificationContentsWidth = | 54 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - |
52 kTrayPopupWidth - kNotificationIconWidth*2 - kTrayPopupPaddingHorizontal*2; | 55 (kNotificationIconWidth + kTrayPopupPaddingHorizontal) * 2; |
53 | 56 |
54 } // namespace ash | 57 } // namespace ash |
OLD | NEW |