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 "ui/message_center/message_center_constants.h" | 5 #include "ui/message_center/message_center_constants.h" |
6 | 6 |
7 namespace message_center { | 7 namespace message_center { |
8 | 8 |
9 // Exported values ///////////////////////////////////////////////////////////// | 9 // Exported values ///////////////////////////////////////////////////////////// |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 const int kIconToTextPadding = 16; | 22 const int kIconToTextPadding = 16; |
23 const int kTextTopPadding = 12; | 23 const int kTextTopPadding = 12; |
24 | 24 |
25 // Text sizes. | 25 // Text sizes. |
26 const int kTitleFontSize = 14; | 26 const int kTitleFontSize = 14; |
27 const int kMessageFontSize = 12; | 27 const int kMessageFontSize = 12; |
28 | 28 |
29 // Colors. | 29 // Colors. |
30 const SkColor kNotificationBackgroundColor = SkColorSetRGB(255, 255, 255); | 30 const SkColor kNotificationBackgroundColor = SkColorSetRGB(255, 255, 255); |
31 const SkColor kLegacyIconBackgroundColor = SkColorSetRGB(230, 230, 230); | 31 const SkColor kLegacyIconBackgroundColor = SkColorSetRGB(230, 230, 230); |
32 const SkColor kRegularTextColor = SkColorSetRGB(51, 51, 51); | 32 const SkColor kRegularTextColor = SkColorSetRGB(34, 34, 34); |
33 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); | 33 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); |
34 | 34 |
35 // Limits. | 35 // Limits. |
36 const int kNotificationMaximumImageHeight = kNotificationWidth; | 36 const int kNotificationMaximumImageHeight = kNotificationWidth; |
37 const size_t kNotificationMaximumItems = 8; | 37 const size_t kNotificationMaximumItems = 8; |
38 | 38 |
39 // Timing. | 39 // Timing. |
40 const int kAutocloseDefaultDelaySeconds = 8; | 40 const int kAutocloseDefaultDelaySeconds = 8; |
41 const int kAutocloseHighPriorityDelaySeconds = 25; | 41 const int kAutocloseHighPriorityDelaySeconds = 25; |
42 | 42 |
43 // Around notifications //////////////////////////////////////////////////////// | 43 // Around notifications //////////////////////////////////////////////////////// |
44 | 44 |
45 // Pixel dimensions. | 45 // Pixel dimensions. |
46 const int kMarginBetweenItems = 10; | 46 const int kMarginBetweenItems = 10; |
47 | 47 |
48 // Colors. | 48 // Colors. |
49 const SkColor kBackgroundLightColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); | 49 const SkColor kBackgroundLightColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); |
50 const SkColor kBackgroundDarkColor = SkColorSetRGB(0xe7, 0xe7, 0xe7); | 50 const SkColor kBackgroundDarkColor = SkColorSetRGB(0xe7, 0xe7, 0xe7); |
51 | 51 |
52 } // namespace message_center | 52 } // namespace message_center |
OLD | NEW |