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

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

Issue 2820073002: Update the background color of ARC notifications when notification settings is opened. (Closed)
Patch Set: add comments Created 3 years, 8 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
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const SkColor kImageBackgroundColor = kNotificationBackgroundColor; 89 const SkColor kImageBackgroundColor = kNotificationBackgroundColor;
90 // Title, message, ... 90 // Title, message, ...
91 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33); 91 const SkColor kRegularTextColor = SkColorSetRGB(0x33, 0x33, 0x33);
92 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f); 92 const SkColor kDimTextColor = SkColorSetRGB(0x7f, 0x7f, 0x7f);
93 // The focus border. 93 // The focus border.
94 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250); 94 const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250);
95 // Foreground of small icon image. 95 // Foreground of small icon image.
96 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE; 96 const SkColor kSmallImageMaskForegroundColor = SK_ColorWHITE;
97 // Background of small icon image. 97 // Background of small icon image.
98 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa3); 98 const SkColor kSmallImageMaskBackgroundColor = SkColorSetRGB(0xa3, 0xa3, 0xa3);
99 // Background of the close button and the settings button
100 const SkColor kControlButtonBackgroundColor =
101 SkColorSetA(SK_ColorWHITE, 0.9 * 0xff);
99 102
100 // Limits. 103 // Limits.
101 104
102 // Given the size of an image, returns the size of the properly scaled-up image 105 // Given the size of an image, returns the size of the properly scaled-up image
103 // which fits into |container_size|. 106 // which fits into |container_size|.
104 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize( 107 MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize(
105 const gfx::Size& container_size, 108 const gfx::Size& container_size,
106 const gfx::Size& image_size); 109 const gfx::Size& image_size);
107 110
108 const size_t kNotificationMaximumItems = 5; // For list notifications. 111 const size_t kNotificationMaximumItems = 5; // For list notifications.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 165
163 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); 166 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee);
164 // Separator color for the tray. 167 // Separator color for the tray.
165 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); 168 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc);
166 // Text color for tray labels. 169 // Text color for tray labels.
167 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); 170 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b);
168 171
169 } // namespace message_center 172 } // namespace message_center
170 173
171 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 174 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW
« no previous file with comments | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/message_center/views/padded_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698