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; | |
25 const int kSmallImageSize = 16; | 24 const int kSmallImageSize = 16; |
26 const int kSmallImagePadding = 4; | 25 const int kSmallImagePadding = 4; |
27 | 26 |
28 // Limits. | 27 // Limits. |
29 const size_t kMaxVisibleMessageCenterNotifications = 100; | 28 const size_t kMaxVisibleMessageCenterNotifications = 100; |
30 const size_t kMaxVisiblePopupNotifications = 3; | 29 const size_t kMaxVisiblePopupNotifications = 3; |
31 | 30 |
32 // DIP dimension; H size of the whole card. | 31 // DIP dimension; H size of the whole card. |
33 const int kNotificationWidth = 360; | 32 const int kNotificationWidth = 360; |
34 const int kMinScrollViewHeight = 100; | 33 const int kMinScrollViewHeight = 100; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 128 |
130 extern const SkColor kShadowColor; // Shadow in the tray. | 129 extern const SkColor kShadowColor; // Shadow in the tray. |
131 | 130 |
132 extern const SkColor kMessageCenterBackgroundColor; | 131 extern const SkColor kMessageCenterBackgroundColor; |
133 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. | 132 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. |
134 extern const SkColor kFooterTextColor; // Text color for tray labels. | 133 extern const SkColor kFooterTextColor; // Text color for tray labels. |
135 | 134 |
136 } // namespace message_center | 135 } // namespace message_center |
137 | 136 |
138 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 137 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
OLD | NEW |