| 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 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // Text sizes. | 72 // Text sizes. |
| 73 const int kTitleFontSize = 14; // For title only. | 73 const int kTitleFontSize = 14; // For title only. |
| 74 const int kEmptyCenterFontSize = 13; // For empty message only. | 74 const int kEmptyCenterFontSize = 13; // For empty message only. |
| 75 const int kTitleLineHeight = 20; // In DIPs. | 75 const int kTitleLineHeight = 20; // In DIPs. |
| 76 const int kMessageFontSize = 12; // For everything but title. | 76 const int kMessageFontSize = 12; // For everything but title. |
| 77 const int kMessageLineHeight = 18; // In DIPs. | 77 const int kMessageLineHeight = 18; // In DIPs. |
| 78 | 78 |
| 79 // Colors. | 79 // Colors. |
| 80 // Background of the card. | 80 // Background of the card. |
| 81 const SkColor kNotificationBackgroundColor = SkColorSetRGB(255, 255, 255); | 81 const SkColor kNotificationBackgroundColor = SK_ColorWHITE; |
| 82 // Background of the image. | 82 // Background of the image. |
| 83 const SkColor kImageBackgroundColor = SkColorSetRGB(0x22, 0x22, 0x22); | 83 const SkColor kImageBackgroundColor = SkColorSetRGB(0x22, 0x22, 0x22); |
| 84 // Used behind icons smaller than the icon view. | |
| 85 const SkColor kIconBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); | |
| 86 // Title, message, ... | 84 // Title, message, ... |
| 87 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33); | 85 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33); |
| 88 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f); | 86 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f); |
| 89 // The focus border. | 87 // The focus border. |
| 90 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); | 88 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); |
| 91 // Foreground of small icon image. | 89 // Foreground of small icon image. |
| 92 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE; | 90 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE; |
| 93 // Background of small icon image. | 91 // Background of small icon image. |
| 94 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa); | 92 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa); |
| 95 | 93 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 150 |
| 153 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); | 151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); |
| 154 // Separator color for the tray. | 152 // Separator color for the tray. |
| 155 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); | 153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); |
| 156 // Text color for tray labels. | 154 // Text color for tray labels. |
| 157 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); | 155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); |
| 158 | 156 |
| 159 } // namespace message_center | 157 } // namespace message_center |
| 160 | 158 |
| 161 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| OLD | NEW |