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

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

Issue 18003003: Message center re-organized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/message_center/message_center.gyp ('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 "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"
11 #include "ui/message_center/message_center_export.h" 11 #include "ui/message_center/message_center_export.h"
12 12
13 namespace message_center { 13 namespace message_center {
14 14
15 // Exported values ///////////////////////////////////////////////////////////// 15 // Exported values /////////////////////////////////////////////////////////////
16 16
17 // Square image sizes in DIPs. 17 // Square image sizes in DIPs.
18 MESSAGE_CENTER_EXPORT extern const int kNotificationButtonIconSize; 18 MESSAGE_CENTER_EXPORT extern const int kNotificationButtonIconSize;
19 MESSAGE_CENTER_EXPORT extern const int kNotificationIconSize; 19 MESSAGE_CENTER_EXPORT extern const int kNotificationIconSize;
20 MESSAGE_CENTER_EXPORT extern const int kNotificationPreferredImageSize; 20 MESSAGE_CENTER_EXPORT extern const int kNotificationPreferredImageSize;
21 MESSAGE_CENTER_EXPORT extern const float kNotificationPreferredImageRatio; 21 MESSAGE_CENTER_EXPORT extern const float kNotificationPreferredImageRatio;
22 MESSAGE_CENTER_EXPORT extern const int kSettingsIconSize; 22 MESSAGE_CENTER_EXPORT extern const int kSettingsIconSize;
23 23
24 // Limits. 24 // Limits.
25 MESSAGE_CENTER_EXPORT extern const size_t kMaxVisiblePopupNotifications; 25 MESSAGE_CENTER_EXPORT extern const size_t kMaxVisiblePopupNotifications;
26 MESSAGE_CENTER_EXPORT extern const size_t kMaxVisibleMessageCenterNotifications; 26 MESSAGE_CENTER_EXPORT extern const size_t kMaxVisibleMessageCenterNotifications;
27 27
28 // DIP dimension
29 MESSAGE_CENTER_EXPORT extern const int kNotificationWidth; // H size of the
30 // whole card.
31
32 // Colors.
33 MESSAGE_CENTER_EXPORT extern const SkColor kMessageCenterBorderColor;
34 MESSAGE_CENTER_EXPORT extern const SkColor kMessageCenterShadowColor;
35
28 // Within a notification /////////////////////////////////////////////////////// 36 // Within a notification ///////////////////////////////////////////////////////
29 37
30 // DIP dimensions (H = horizontal, V = vertical). 38 // DIP dimensions (H = horizontal, V = vertical).
31 extern const int kControlButtonSize; // Square size of close & expand buttons. 39 extern const int kControlButtonSize; // Square size of close & expand buttons.
32 extern const int kNotificationWidth; // H size of the whole card.
33 extern const int kIconToTextPadding; // H space between icon & title/message. 40 extern const int kIconToTextPadding; // H space between icon & title/message.
34 extern const int kTextTopPadding; // V space between text elements. 41 extern const int kTextTopPadding; // V space between text elements.
35 42
36 // Text sizes. 43 // Text sizes.
37 extern const int kTitleFontSize; // For title only. 44 extern const int kTitleFontSize; // For title only.
38 extern const int kTitleLineHeight; // In DIPs. 45 extern const int kTitleLineHeight; // In DIPs.
39 extern const int kMessageFontSize; // For everything but title. 46 extern const int kMessageFontSize; // For everything but title.
40 extern const int kMessageLineHeight; // In DIPs. 47 extern const int kMessageLineHeight; // In DIPs.
41 48
42 // Colors. 49 // Colors.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 96
90 extern const SkColor kShadowColor; // Shadow in the tray. 97 extern const SkColor kShadowColor; // Shadow in the tray.
91 98
92 extern const SkColor kMessageCenterBackgroundColor; 99 extern const SkColor kMessageCenterBackgroundColor;
93 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. 100 extern const SkColor kFooterDelimiterColor; // Separator color for the tray.
94 extern const SkColor kFooterTextColor; // Text color for tray labels. 101 extern const SkColor kFooterTextColor; // Text color for tray labels.
95 102
96 } // namespace message_center 103 } // namespace message_center
97 104
98 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 105 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center.gyp ('k') | ui/message_center/message_center_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698