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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
10 #include "ui/gfx/geometry/size.h" | 10 #include "ui/gfx/geometry/size.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 #if !defined(OS_LINUX) || defined(USE_AURA) | 112 #if !defined(OS_LINUX) || defined(USE_AURA) |
113 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); | 113 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); |
114 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); | 114 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); |
115 #endif | 115 #endif |
116 | 116 |
117 // Progress bar. | 117 // Progress bar. |
118 const int kProgressBarThickness = 5; | 118 const int kProgressBarThickness = 5; |
119 const int kProgressBarTopPadding = 16; | 119 const int kProgressBarTopPadding = 16; |
120 const int kProgressBarCornerRadius = 3; | 120 const int kProgressBarCornerRadius = 3; |
121 const SkColor kProgressBarBackgroundColor = SkColorSetRGB(216, 216, 216); | 121 const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0); |
122 const SkColor kProgressBarSliceColor = SkColorSetRGB(120, 120, 120); | 122 const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34); |
123 | 123 |
124 // Line limits. | 124 // Line limits. |
125 const int kMaxTitleLines = 2; | 125 const int kMaxTitleLines = 2; |
126 const int kMessageCollapsedLineLimit = 2; | 126 const int kMessageCollapsedLineLimit = 2; |
127 const int kMessageExpandedLineLimit = 5; | 127 const int kMessageExpandedLineLimit = 5; |
128 const int kContextMessageLineLimit = 1; | 128 const int kContextMessageLineLimit = 1; |
129 | 129 |
130 // Around notifications //////////////////////////////////////////////////////// | 130 // Around notifications //////////////////////////////////////////////////////// |
131 | 131 |
132 // DIP dimensions (H = horizontal, V = vertical). | 132 // DIP dimensions (H = horizontal, V = vertical). |
133 const int kMarginBetweenItems = 10; // H & V space around & between | 133 const int kMarginBetweenItems = 10; // H & V space around & between |
134 // notifications. | 134 // notifications. |
135 | 135 |
136 // Colors. | 136 // Colors. |
137 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient | 137 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient |
138 extern const SkColor kBackgroundDarkColor; // from light to dark. | 138 extern const SkColor kBackgroundDarkColor; // from light to dark. |
139 | 139 |
140 extern const SkColor kShadowColor; // Shadow in the tray. | 140 extern const SkColor kShadowColor; // Shadow in the tray. |
141 | 141 |
142 extern const SkColor kMessageCenterBackgroundColor; | 142 extern const SkColor kMessageCenterBackgroundColor; |
143 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. | 143 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. |
144 extern const SkColor kFooterTextColor; // Text color for tray labels. | 144 extern const SkColor kFooterTextColor; // Text color for tray labels. |
145 | 145 |
146 } // namespace message_center | 146 } // namespace message_center |
147 | 147 |
148 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 148 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
OLD | NEW |