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

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

Issue 2139193002: Fix the wrong value of kSmallImageMaskBackgroundColor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Used behind icons smaller than the icon view. 84 // Used behind icons smaller than the icon view.
85 const SkColor kIconBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); 85 const SkColor kIconBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5);
86 // Title, message, ... 86 // Title, message, ...
87 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33); 87 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33);
88 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f); 88 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f);
89 // The focus border. 89 // The focus border.
90 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); 90 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250);
91 // Foreground of small icon image. 91 // Foreground of small icon image.
92 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE; 92 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE;
93 // Background of small icon image. 93 // Background of small icon image.
94 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa); 94 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa3);
95 95
96 // Limits. 96 // Limits.
97 97
98 // Given the size of an image, returns the size of the properly scaled-up image 98 // Given the size of an image, returns the size of the properly scaled-up image
99 // which fits into |container_size|. 99 // which fits into |container_size|.
100 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize( 100 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize(
101 const gfx::Size& container_size, 101 const gfx::Size& container_size,
102 const gfx::Size& image_size); 102 const gfx::Size& image_size);
103 103
104 const size_t kNotificationMaximumItems = 5; // For list notifications. 104 const size_t kNotificationMaximumItems = 5; // For list notifications.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); 153 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee);
154 // Separator color for the tray. 154 // Separator color for the tray.
155 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); 155 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc);
156 // Text color for tray labels. 156 // Text color for tray labels.
157 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); 157 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b);
158 158
159 } // namespace message_center 159 } // namespace message_center
160 160
161 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 161 #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