| 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 const int kNotificationIconSize = 80; | 9 const int kNotificationIconSize = 80; |
| 10 const int kNotificationPreferredImageSize = kNotificationWidth; | 10 const int kNotificationPreferredImageSize = kNotificationWidth; |
| 11 const int kNotificationButtonIconSize = 16; | 11 const int kNotificationButtonIconSize = 16; |
| 12 const int kSettingsIconSize = 16; | 12 const int kSettingsIconSize = 16; |
| 13 | 13 |
| 14 const int kControlButtonSize = 29; | 14 const int kControlButtonSize = 29; |
| 15 | 15 |
| 16 const int kIconToTextPadding = 16; | 16 const int kIconToTextPadding = 16; |
| 17 | 17 |
| 18 const int kTextTopPadding = 6; | 18 const int kTextTopPadding = 7; |
| 19 | 19 |
| 20 const int kNotificationWidth = 360; | 20 const int kNotificationWidth = 360; |
| 21 | 21 |
| 22 const int kNotificationMaximumImageHeight = kNotificationWidth; | 22 const int kNotificationMaximumImageHeight = kNotificationWidth; |
| 23 | 23 |
| 24 const size_t kNotificationMaximumItems = 8; | 24 const size_t kNotificationMaximumItems = 8; |
| 25 | 25 |
| 26 const int kAutocloseHighPriorityDelaySeconds = 25; | 26 const int kAutocloseHighPriorityDelaySeconds = 25; |
| 27 const int kAutocloseDefaultDelaySeconds = 8; | 27 const int kAutocloseDefaultDelaySeconds = 8; |
| 28 | 28 |
| 29 const int kMarginBetweenItems = 10; | 29 const int kMarginBetweenItems = 10; |
| 30 | 30 |
| 31 const SkColor kBackgroundColor = SkColorSetRGB(255, 255, 255); | 31 const SkColor kBackgroundColor = SkColorSetRGB(255, 255, 255); |
| 32 | 32 |
| 33 const SkColor kLegacyIconBackgroundColor = SkColorSetRGB(230, 230, 230); | 33 const SkColor kLegacyIconBackgroundColor = SkColorSetRGB(230, 230, 230); |
| 34 | 34 |
| 35 const SkColor kRegularTextColor = SkColorSetRGB(68, 68, 68); | 35 const SkColor kRegularTextColor = SkColorSetRGB(68, 68, 68); |
| 36 | 36 |
| 37 const int kTitleFontSize = 14; | 37 const int kTitleFontSize = 14; |
| 38 | 38 |
| 39 const int kMessageFontSize = 12; | 39 const int kMessageFontSize = 12; |
| 40 | 40 |
| 41 } // namespace message_center | 41 } // namespace message_center |
| OLD | NEW |