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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 14 matching lines...) Expand all Loading... | |
25 const int kNotificationPreferredImageHeight = 240; | 25 const int kNotificationPreferredImageHeight = 240; |
26 const int kSmallImageSize = 16; | 26 const int kSmallImageSize = 16; |
27 const int kSmallImagePadding = 4; | 27 const int kSmallImagePadding = 4; |
28 | 28 |
29 // Limits. | 29 // Limits. |
30 const size_t kMaxVisibleMessageCenterNotifications = 100; | 30 const size_t kMaxVisibleMessageCenterNotifications = 100; |
31 const size_t kMaxVisiblePopupNotifications = 3; | 31 const size_t kMaxVisiblePopupNotifications = 3; |
32 | 32 |
33 // DIP dimension; H size of the whole card. | 33 // DIP dimension; H size of the whole card. |
34 const int kNotificationWidth = 360; | 34 const int kNotificationWidth = 360; |
35 const int kMinScrollViewHeight = 100; | 35 const int kMinScrollViewHeight = 77; |
dewittj
2016/08/31 20:50:36
nit: please mention where this height came from, 7
| |
36 | 36 |
37 // Colors. | 37 // Colors. |
38 const SkColor kMessageCenterBorderColor = SkColorSetRGB(0xC7, 0xCA, 0xCE); | 38 const SkColor kMessageCenterBorderColor = SkColorSetRGB(0xC7, 0xCA, 0xCE); |
39 const SkColor kMessageCenterShadowColor = SkColorSetARGB(0.5 * 255, 0, 0, 0); | 39 const SkColor kMessageCenterShadowColor = SkColorSetARGB(0.5 * 255, 0, 0, 0); |
40 | 40 |
41 // Settings dialog constants. | 41 // Settings dialog constants. |
42 namespace settings { | 42 namespace settings { |
43 | 43 |
44 const SkColor kEntrySeparatorColor = SkColorSetARGB(0.1 * 255, 0, 0, 0); | 44 const SkColor kEntrySeparatorColor = SkColorSetARGB(0.1 * 255, 0, 0, 0); |
45 const int kEntryHeight = 45; | 45 const int kEntryHeight = 45; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 | 150 |
151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); | 151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); |
152 // Separator color for the tray. | 152 // Separator color for the tray. |
153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); | 153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); |
154 // Text color for tray labels. | 154 // Text color for tray labels. |
155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); | 155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); |
156 | 156 |
157 } // namespace message_center | 157 } // namespace message_center |
158 | 158 |
159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ | 159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ |
OLD | NEW |