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 |
11 const int kTrayPopupAutoCloseDelayInSeconds = 2; | 11 const int kTrayPopupAutoCloseDelayInSeconds = 2; |
12 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; | 12 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; |
13 const int kTrayPopupPaddingHorizontal = 18; | 13 const int kTrayPopupPaddingHorizontal = 18; |
14 const int kTrayPopupPaddingBetweenItems = 10; | 14 const int kTrayPopupPaddingBetweenItems = 10; |
| 15 const int kTrayPopupTextSpacingVertical = 4; |
15 | 16 |
16 const int kTrayPopupItemHeight = 48; | 17 const int kTrayPopupItemHeight = 48; |
17 const int kTrayPopupDetailsIconWidth = 27; | 18 const int kTrayPopupDetailsIconWidth = 27; |
18 const int kTrayRoundedBorderRadius = 2; | 19 const int kTrayRoundedBorderRadius = 2; |
19 | 20 |
20 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); | 21 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); |
21 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); | 22 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); |
22 | 23 |
23 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); | 24 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); |
24 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1); | 25 const SkColor kHeaderHoverBackgroundColor = SkColorSetRGB(0xe1, 0xe1, 0xe1); |
25 | 26 |
26 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0); | 27 const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0); |
27 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); | 28 const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb); |
28 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd); | 29 const SkColor kButtonStrokeColor = SkColorSetRGB(0xdd, 0xdd, 0xdd); |
29 | 30 |
30 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); | 31 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); |
31 | 32 |
32 const int kTrayPopupWidth = 300; | 33 const int kTrayPopupWidth = 300; |
33 | 34 |
34 } // namespace ash | 35 } // namespace ash |
OLD | NEW |