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

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

Issue 2329633003: Implement progress bar spec (determinate and indeterminate). (Closed)
Patch Set: sky review 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const int kButtonHorizontalPadding = 16; // In DIPs. 114 const int kButtonHorizontalPadding = 16; // In DIPs.
115 const int kButtonIconTopPadding = 11; // In DIPs. 115 const int kButtonIconTopPadding = 11; // In DIPs.
116 const int kButtonIconToTitlePadding = 16; // In DIPs. 116 const int kButtonIconToTitlePadding = 16; // In DIPs.
117 117
118 #if !defined(OS_LINUX) || defined(USE_AURA) 118 #if !defined(OS_LINUX) || defined(USE_AURA)
119 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); 119 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234);
120 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); 120 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
121 #endif 121 #endif
122 122
123 // Progress bar. 123 // Progress bar.
124 const int kProgressBarThickness = 5;
125 const int kProgressBarTopPadding = 16; 124 const int kProgressBarTopPadding = 16;
126 const int kProgressBarCornerRadius = 3;
127 const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0);
128 const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34);
129 125
130 // Line limits. 126 // Line limits.
131 const int kMaxTitleLines = 2; 127 const int kMaxTitleLines = 2;
132 const int kMessageCollapsedLineLimit = 2; 128 const int kMessageCollapsedLineLimit = 2;
133 const int kMessageExpandedLineLimit = 5; 129 const int kMessageExpandedLineLimit = 5;
134 const int kContextMessageLineLimit = 1; 130 const int kContextMessageLineLimit = 1;
135 131
136 // Around notifications //////////////////////////////////////////////////////// 132 // Around notifications ////////////////////////////////////////////////////////
137 133
138 // DIP dimensions (H = horizontal, V = vertical). 134 // DIP dimensions (H = horizontal, V = vertical).
(...skipping 11 matching lines...) Expand all
150 146
151 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee); 147 const SkColor kMessageCenterBackgroundColor = SkColorSetRGB(0xee, 0xee, 0xee);
152 // Separator color for the tray. 148 // Separator color for the tray.
153 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc); 149 const SkColor kFooterDelimiterColor = SkColorSetRGB(0xcc, 0xcc, 0xcc);
154 // Text color for tray labels. 150 // Text color for tray labels.
155 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b); 151 const SkColor kFooterTextColor = SkColorSetRGB(0x7b, 0x7b, 0x7b);
156 152
157 } // namespace message_center 153 } // namespace message_center
158 154
159 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 155 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698