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 kProgressBarTopPadding = 16; |
| 125 #if defined(OS_MACOSX) |
124 const int kProgressBarThickness = 5; | 126 const int kProgressBarThickness = 5; |
125 const int kProgressBarTopPadding = 16; | |
126 const int kProgressBarCornerRadius = 3; | 127 const int kProgressBarCornerRadius = 3; |
127 const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0); | 128 const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0); |
128 const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34); | 129 const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34); |
| 130 #endif |
129 | 131 |
130 // Line limits. | 132 // Line limits. |
131 const int kMaxTitleLines = 2; | 133 const int kMaxTitleLines = 2; |
132 const int kMessageCollapsedLineLimit = 2; | 134 const int kMessageCollapsedLineLimit = 2; |
133 const int kMessageExpandedLineLimit = 5; | 135 const int kMessageExpandedLineLimit = 5; |
134 const int kContextMessageLineLimit = 1; | 136 const int kContextMessageLineLimit = 1; |
135 | 137 |
136 // Around notifications //////////////////////////////////////////////////////// | 138 // Around notifications //////////////////////////////////////////////////////// |
137 | 139 |
138 // DIP dimensions (H = horizontal, V = vertical). | 140 // DIP dimensions (H = horizontal, V = vertical). |
(...skipping 11 matching lines...) Expand all Loading... |
150 | 152 |
151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); | 153 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); |
152 // Separator color for the tray. | 154 // Separator color for the tray. |
153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); | 155 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); |
154 // Text color for tray labels. | 156 // Text color for tray labels. |
155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); | 157 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); |
156 | 158 |
157 } // namespace message_center | 159 } // namespace message_center |
158 | 160 |
159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 161 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
OLD | NEW |