| 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" |
| 11 #include "ui/message_center/message_center_export.h" | 11 #include "ui/message_center/message_center_export.h" |
| 12 | 12 |
| 13 namespace message_center { | 13 namespace message_center { |
| 14 | 14 |
| 15 // Exported values ///////////////////////////////////////////////////////////// | 15 // Exported values ///////////////////////////////////////////////////////////// |
| 16 | 16 |
| 17 // Square image sizes in DIPs. | 17 // Square image sizes in DIPs. |
| 18 const int kNotificationButtonIconSize = 16; | 18 const int kNotificationButtonIconSize = 16; |
| 19 const int kNotificationIconSize = 80; | 19 const int kNotificationIconSize = 80; |
| 20 // A border is applied to images that have a non-preferred aspect ratio. | 20 // A border is applied to images that have a non-preferred aspect ratio. |
| 21 const int kNotificationImageBorderSize = 10; | 21 const int kNotificationImageBorderSize = 10; |
| 22 const int kNotificationPreferredImageWidth = 360; | 22 const int kNotificationPreferredImageWidth = 360; |
| 23 const int kNotificationPreferredImageHeight = 240; | 23 const int kNotificationPreferredImageHeight = 240; |
| 24 const int kSettingsIconSize = 16; | 24 const int kSettingsIconSize = 16; |
| 25 const int kSmallImageSize = 16; |
| 26 const int kSmallImagePadding = 4; |
| 25 | 27 |
| 26 // Limits. | 28 // Limits. |
| 27 const size_t kMaxVisibleMessageCenterNotifications = 100; | 29 const size_t kMaxVisibleMessageCenterNotifications = 100; |
| 28 const size_t kMaxVisiblePopupNotifications = 3; | 30 const size_t kMaxVisiblePopupNotifications = 3; |
| 29 | 31 |
| 30 // DIP dimension; H size of the whole card. | 32 // DIP dimension; H size of the whole card. |
| 31 const int kNotificationWidth = 360; | 33 const int kNotificationWidth = 360; |
| 32 | 34 |
| 33 // Colors. | 35 // Colors. |
| 34 MESSAGE_CENTER_EXPORT extern const SkColor kMessageCenterBorderColor; | 36 MESSAGE_CENTER_EXPORT extern const SkColor kMessageCenterBorderColor; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 128 |
| 127 extern const SkColor kShadowColor; // Shadow in the tray. | 129 extern const SkColor kShadowColor; // Shadow in the tray. |
| 128 | 130 |
| 129 extern const SkColor kMessageCenterBackgroundColor; | 131 extern const SkColor kMessageCenterBackgroundColor; |
| 130 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. | 132 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. |
| 131 extern const SkColor kFooterTextColor; // Text color for tray labels. | 133 extern const SkColor kFooterTextColor; // Text color for tray labels. |
| 132 | 134 |
| 133 } // namespace message_center | 135 } // namespace message_center |
| 134 | 136 |
| 135 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 137 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
| OLD | NEW |