Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: ui/message_center/message_center_style.h

Issue 2296863004: Shrink the minimum height of the message center (Closed)
Patch Set: Removed debug output Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698