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

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

Issue 2704933011: Add notification settings button to ARC notifications. (Closed)
Patch Set: Add notification settings button to ARC notifications. Created 3 years, 9 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 | « ui/message_center/BUILD.gn ('k') | ui/message_center/message_center_style.cc » ('j') | 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #endif 136 #endif
137 137
138 // Line limits. 138 // Line limits.
139 const int kMaxTitleLines = 2; 139 const int kMaxTitleLines = 2;
140 const int kMessageCollapsedLineLimit = 2; 140 const int kMessageCollapsedLineLimit = 2;
141 const int kMessageExpandedLineLimit = 5; 141 const int kMessageExpandedLineLimit = 5;
142 const int kContextMessageLineLimit = 1; 142 const int kContextMessageLineLimit = 1;
143 143
144 // Icons. 144 // Icons.
145 MESSAGE_CENTER_EXPORT gfx::ImageSkia GetCloseIcon(); 145 MESSAGE_CENTER_EXPORT gfx::ImageSkia GetCloseIcon();
146 MESSAGE_CENTER_EXPORT gfx::ImageSkia GetSettingsIcon();
146 147
147 // Around notifications //////////////////////////////////////////////////////// 148 // Around notifications ////////////////////////////////////////////////////////
148 149
149 // DIP dimensions (H = horizontal, V = vertical). 150 // DIP dimensions (H = horizontal, V = vertical).
150 const int kMarginBetweenItems = 10; // H & V space around & between 151 const int kMarginBetweenItems = 10; // H & V space around & between
151 // notifications. 152 // notifications.
152 153
153 // Colors. 154 // Colors.
154 // Behind notifications, gradient 155 // Behind notifications, gradient
155 const SkColor kBackgroundLightColor = SkColorSetRGB(0xf1, 0xf1, 0xf1); 156 const SkColor kBackgroundLightColor = SkColorSetRGB(0xf1, 0xf1, 0xf1);
156 // from light to dark. 157 // from light to dark.
157 const SkColor kBackgroundDarkColor = SkColorSetRGB(0xe7, 0xe7, 0xe7); 158 const SkColor kBackgroundDarkColor = SkColorSetRGB(0xe7, 0xe7, 0xe7);
158 159
159 // Shadow in the tray. 160 // Shadow in the tray.
160 const SkColor kShadowColor = SkColorSetARGB(0.3 * 255, 0, 0, 0); 161 const SkColor kShadowColor = SkColorSetARGB(0.3 * 255, 0, 0, 0);
161 162
162 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); 163 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee);
163 // Separator color for the tray. 164 // Separator color for the tray.
164 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); 165 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc);
165 // Text color for tray labels. 166 // Text color for tray labels.
166 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); 167 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b);
167 168
168 } // namespace message_center 169 } // namespace message_center
169 170
170 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 171 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/message_center_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698