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_CONSTANTS_H_ | 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ |
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ | 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_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/message_center/message_center_export.h" | 10 #include "ui/message_center/message_center_export.h" |
11 | 11 |
12 namespace message_center { | 12 namespace message_center { |
13 | 13 |
14 // Exported values ///////////////////////////////////////////////////////////// | 14 // Exported values ///////////////////////////////////////////////////////////// |
15 | 15 |
16 // Square image sizes in pixels. | 16 // Square image sizes in pixels. |
17 MESSAGE_CENTER_EXPORT extern const int kNotificationButtonIconSize; | 17 MESSAGE_CENTER_EXPORT extern const int kNotificationButtonIconSize; |
18 MESSAGE_CENTER_EXPORT extern const int kNotificationIconSize; | 18 MESSAGE_CENTER_EXPORT extern const int kNotificationIconSize; |
19 MESSAGE_CENTER_EXPORT extern const int kNotificationPreferredImageSize; | 19 MESSAGE_CENTER_EXPORT extern const int kNotificationPreferredImageSize; |
20 MESSAGE_CENTER_EXPORT extern const int kSettingsIconSize; | 20 MESSAGE_CENTER_EXPORT extern const int kSettingsIconSize; |
21 | 21 |
22 // Within a notification /////////////////////////////////////////////////////// | 22 // Within a notification /////////////////////////////////////////////////////// |
23 | 23 |
24 // Pixel dimensions (H = horizontal, V = vertical). | 24 // Pixel dimensions (H = horizontal, V = vertical). |
25 extern const int kControlButtonSize; // Square size of close & expand buttons. | 25 extern const int kControlButtonSize; // Square size of close & expand buttons. |
26 extern const int kNotificationWidth; // H size of the whole card. | 26 extern const int kNotificationWidth; // H size of the whole card. |
27 extern const int kIconToTextPadding; // H space between icon & title/message. | 27 extern const int kIconToTextPadding; // H space between icon & title/message. |
28 extern const int kTextTopPadding; // V space between text elements. | 28 extern const int kTextTopPadding; // V space between text elements. |
29 | 29 |
30 // Text sizes | 30 // Text sizes. |
31 extern const int kTitleFontSize; // For title only. | 31 extern const int kTitleFontSize; // For title only. |
32 extern const int kMessageFontSize; // For everything but title. | 32 extern const int kMessageFontSize; // For everything but title. |
33 | 33 |
34 // Colors. | 34 // Colors. |
35 extern const SkColor kNotificationBackgroundColor; // Background of the card. | 35 extern const SkColor kNotificationBackgroundColor; // Background of the card. |
36 extern const SkColor kLegacyIconBackgroundColor; // Used behind icons smaller | 36 extern const SkColor kLegacyIconBackgroundColor; // Used behind icons smaller |
37 // than the icon view. | 37 // than the icon view. |
38 extern const SkColor kRegularTextColor; // Title, message, ... | 38 extern const SkColor kRegularTextColor; // Title, message, ... |
39 | 39 |
40 // Limits. | 40 // Limits. |
(...skipping 10 matching lines...) Expand all Loading... |
51 extern const int kMarginBetweenItems; // H & V space around & between | 51 extern const int kMarginBetweenItems; // H & V space around & between |
52 // notifications. | 52 // notifications. |
53 | 53 |
54 // Colors. | 54 // Colors. |
55 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient | 55 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient |
56 extern const SkColor kBackgroundDarkColor; // from light to dark. | 56 extern const SkColor kBackgroundDarkColor; // from light to dark. |
57 | 57 |
58 } // namespace message_center | 58 } // namespace message_center |
59 | 59 |
60 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ | 60 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ |
OLD | NEW |