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