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

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

Issue 14631005: Enable users of NotificationUIManager to specify binary images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for relanding. Created 7 years, 6 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Timing. 58 // Timing.
59 extern const int kAutocloseDefaultDelaySeconds; 59 extern const int kAutocloseDefaultDelaySeconds;
60 extern const int kAutocloseHighPriorityDelaySeconds; 60 extern const int kAutocloseHighPriorityDelaySeconds;
61 61
62 // Buttons. 62 // Buttons.
63 const int kButtonHeight = 38; // In DIPs. 63 const int kButtonHeight = 38; // In DIPs.
64 const int kButtonHorizontalPadding = 16; // In DIPs. 64 const int kButtonHorizontalPadding = 16; // In DIPs.
65 const int kButtonIconTopPadding = 11; // In DIPs. 65 const int kButtonIconTopPadding = 11; // In DIPs.
66 const int kButtonIconToTitlePadding = 16; // In DIPs. 66 const int kButtonIconToTitlePadding = 16; // In DIPs.
67
68 #if !defined(OS_LINUX) || defined(USE_AURA)
67 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234); 69 const SkColor kButtonSeparatorColor = SkColorSetRGB(234, 234, 234);
68 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243); 70 const SkColor kHoveredButtonBackgroundColor = SkColorSetRGB(243, 243, 243);
71 #endif
69 72
70 // Around notifications //////////////////////////////////////////////////////// 73 // Around notifications ////////////////////////////////////////////////////////
71 74
72 // DIP dimensions (H = horizontal, V = vertical). 75 // DIP dimensions (H = horizontal, V = vertical).
73 MESSAGE_CENTER_EXPORT extern const int kMarginBetweenItems; // H & V space 76 MESSAGE_CENTER_EXPORT extern const int kMarginBetweenItems; // H & V space
74 // around & between 77 // around & between
75 // notifications. 78 // notifications.
76 79
77 // Colors. 80 // Colors.
78 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient 81 extern const SkColor kBackgroundLightColor; // Behind notifications, gradient
79 extern const SkColor kBackgroundDarkColor; // from light to dark. 82 extern const SkColor kBackgroundDarkColor; // from light to dark.
80 83
81 extern const SkColor kShadowColor; // Shadow in the tray. 84 extern const SkColor kShadowColor; // Shadow in the tray.
82 85
83 extern const SkColor kMessageCenterBackgroundColor; 86 extern const SkColor kMessageCenterBackgroundColor;
84 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. 87 extern const SkColor kFooterDelimiterColor; // Separator color for the tray.
85 extern const SkColor kFooterTextColor; // Text color for tray labels. 88 extern const SkColor kFooterTextColor; // Text color for tray labels.
86 89
87 } // namespace message_center 90 } // namespace message_center
88 91
89 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 92 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center_impl.cc ('k') | ui/message_center/message_center_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698