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