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

Unified Diff: ui/message_center/message_center_style.h

Issue 2329633003: Implement progress bar spec (determinate and indeterminate). (Closed)
Patch Set: attempt to unbreak mac and unit test 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/notification_progress_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_style.h
diff --git a/ui/message_center/message_center_style.h b/ui/message_center/message_center_style.h
index 73530fb35b58a6ac846477dfb0cdfbe83ca42909..128d444d560ebb815215b2b2ae89e2eacdec79e2 100644
--- a/ui/message_center/message_center_style.h
+++ b/ui/message_center/message_center_style.h
@@ -121,11 +121,13 @@ const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
#endif
// Progress bar.
-const int kProgressBarThickness = 5;
const int kProgressBarTopPadding = 16;
+#if defined(OS_MACOSX)
+const int kProgressBarThickness = 5;
const int kProgressBarCornerRadius = 3;
const SkColor kProgressBarBackgroundColor = SkColorSetARGB(26, 0, 0, 0);
const SkColor kProgressBarSliceColor = SkColorSetRGB(26, 194, 34);
+#endif
// Line limits.
const int kMaxTitleLines = 2;
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/notification_progress_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698