| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const int kButtonHorizontalPadding = 16; // In DIPs. | 114 const int kButtonHorizontalPadding = 16; // In DIPs. |
| 115 const int kButtonIconTopPadding = 11; // In DIPs. | 115 const int kButtonIconTopPadding = 11; // In DIPs. |
| 116 const int kButtonIconToTitlePadding = 16; // In DIPs. | 116 const int kButtonIconToTitlePadding = 16; // In DIPs. |
| 117 | 117 |
| 118 #if !defined(OS_LINUX) || defined(USE_AURA) | 118 #if !defined(OS_LINUX) || defined(USE_AURA) |
| 119 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); | 119 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); |
| 120 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); | 120 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); |
| 121 #endif | 121 #endif |
| 122 | 122 |
| 123 // Progress bar. | 123 // Progress bar. |
| 124 const int kProgressBarThickness = 5; | |
| 125 const int kProgressBarTopPadding = 16; | 124 const int kProgressBarTopPadding = 16; |
| 126 const int kProgressBarCornerRadius = 3; | |
| 127 const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0); | |
| 128 const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34); | |
| 129 | 125 |
| 130 // Line limits. | 126 // Line limits. |
| 131 const int kMaxTitleLines = 2; | 127 const int kMaxTitleLines = 2; |
| 132 const int kMessageCollapsedLineLimit = 2; | 128 const int kMessageCollapsedLineLimit = 2; |
| 133 const int kMessageExpandedLineLimit = 5; | 129 const int kMessageExpandedLineLimit = 5; |
| 134 const int kContextMessageLineLimit = 1; | 130 const int kContextMessageLineLimit = 1; |
| 135 | 131 |
| 136 // Around notifications //////////////////////////////////////////////////////// | 132 // Around notifications //////////////////////////////////////////////////////// |
| 137 | 133 |
| 138 // DIP dimensions (H = horizontal, V = vertical). | 134 // DIP dimensions (H = horizontal, V = vertical). |
| (...skipping 11 matching lines...) Expand all Loading... |
| 150 | 146 |
| 151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); | 147 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); |
| 152 // Separator color for the tray. | 148 // Separator color for the tray. |
| 153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); | 149 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); |
| 154 // Text color for tray labels. | 150 // Text color for tray labels. |
| 155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); | 151 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); |
| 156 | 152 |
| 157 } // namespace message_center | 153 } // namespace message_center |
| 158 | 154 |
| 159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 155 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| OLD | NEW |