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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const int kMessageLineHeight = 18; // In DIPs. | 71 const int kMessageLineHeight = 18; // In DIPs. |
72 | 72 |
73 // Colors. | 73 // Colors. |
74 extern const SkColor kNotificationBackgroundColor; // Background of the card. | 74 extern const SkColor kNotificationBackgroundColor; // Background of the card. |
75 extern const SkColor kImageBackgroundColor; // Background of the image. | 75 extern const SkColor kImageBackgroundColor; // Background of the image. |
76 extern const SkColor kIconBackgroundColor; // Used behind icons smaller | 76 extern const SkColor kIconBackgroundColor; // Used behind icons smaller |
77 // than the icon view. | 77 // than the icon view. |
78 extern const SkColor kRegularTextColor; // Title, message, ... | 78 extern const SkColor kRegularTextColor; // Title, message, ... |
79 extern const SkColor kDimTextColor; | 79 extern const SkColor kDimTextColor; |
80 extern const SkColor kFocusBorderColor; // The focus border. | 80 extern const SkColor kFocusBorderColor; // The focus border. |
| 81 extern const SkColor |
| 82 kSmallImageMaskForegroundColor; // Foreground of small icon image. |
| 83 extern const SkColor |
| 84 kSmallImageMaskBackgroundColor; // Background of small icon image. |
81 | 85 |
82 // Limits. | 86 // Limits. |
83 | 87 |
84 // Given the size of an image, returns the size of the properly scaled-up image | 88 // Given the size of an image, returns the size of the properly scaled-up image |
85 // which fits into |container_size|. | 89 // which fits into |container_size|. |
86 gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size, | 90 gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size, |
87 const gfx::Size& image_size); | 91 const gfx::Size& image_size); |
88 | 92 |
89 extern const int kNotificationMaximumImageHeight; // For image notifications. | 93 extern const int kNotificationMaximumImageHeight; // For image notifications. |
90 extern const size_t kNotificationMaximumItems; // For list notifications. | 94 extern const size_t kNotificationMaximumItems; // For list notifications. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 133 |
130 extern const SkColor kShadowColor; // Shadow in the tray. | 134 extern const SkColor kShadowColor; // Shadow in the tray. |
131 | 135 |
132 extern const SkColor kMessageCenterBackgroundColor; | 136 extern const SkColor kMessageCenterBackgroundColor; |
133 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. | 137 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. |
134 extern const SkColor kFooterTextColor; // Text color for tray labels. | 138 extern const SkColor kFooterTextColor; // Text color for tray labels. |
135 | 139 |
136 } // namespace message_center | 140 } // namespace message_center |
137 | 141 |
138 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 142 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
OLD | NEW |