| 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/size.h" | 10 #include "ui/gfx/size.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 // Progress bar. | 107 // Progress bar. |
| 108 const int kProgressBarThickness = 5; | 108 const int kProgressBarThickness = 5; |
| 109 const int kProgressBarTopPadding = 16; | 109 const int kProgressBarTopPadding = 16; |
| 110 const int kProgressBarCornerRadius = 3; | 110 const int kProgressBarCornerRadius = 3; |
| 111 const SkColor kProgressBarBackgroundColor = SkColorSetRGB(216, 216, 216); | 111 const SkColor kProgressBarBackgroundColor = SkColorSetRGB(216, 216, 216); |
| 112 const SkColor kProgressBarSliceColor = SkColorSetRGB(120, 120, 120); | 112 const SkColor kProgressBarSliceColor = SkColorSetRGB(120, 120, 120); |
| 113 | 113 |
| 114 // Line limits. | 114 // Line limits. |
| 115 const int kTitleLineLimit = 1; | 115 const int kTitleLineLimit = 1; |
| 116 const int kTitleNoMessageLineLimit = 2; |
| 116 const int kMessageCollapsedLineLimit = 2; | 117 const int kMessageCollapsedLineLimit = 2; |
| 117 const int kMessageExpandedLineLimit = 5; | 118 const int kMessageExpandedLineLimit = 5; |
| 118 const int kContextMessageLineLimit = 1; | 119 const int kContextMessageLineLimit = 1; |
| 119 | 120 |
| 120 // Around notifications //////////////////////////////////////////////////////// | 121 // Around notifications //////////////////////////////////////////////////////// |
| 121 | 122 |
| 122 // DIP dimensions (H = horizontal, V = vertical). | 123 // DIP dimensions (H = horizontal, V = vertical). |
| 123 const int kMarginBetweenItems = 10; // H & V space around & between | 124 const int kMarginBetweenItems = 10; // H & V space around & between |
| 124 // notifications. | 125 // notifications. |
| 125 | 126 |
| 126 // Colors. | 127 // Colors. |
| 127 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient | 128 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient |
| 128 extern const SkColor kBackgroundDarkColor; // from light to dark. | 129 extern const SkColor kBackgroundDarkColor; // from light to dark. |
| 129 | 130 |
| 130 extern const SkColor kShadowColor; // Shadow in the tray. | 131 extern const SkColor kShadowColor; // Shadow in the tray. |
| 131 | 132 |
| 132 extern const SkColor kMessageCenterBackgroundColor; | 133 extern const SkColor kMessageCenterBackgroundColor; |
| 133 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. | 134 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. |
| 134 extern const SkColor kFooterTextColor; // Text color for tray labels. | 135 extern const SkColor kFooterTextColor; // Text color for tray labels. |
| 135 | 136 |
| 136 } // namespace message_center | 137 } // namespace message_center |
| 137 | 138 |
| 138 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 139 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| OLD | NEW |