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

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

Issue 16075002: mac: Make notification text colors match views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
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 25 matching lines...) Expand all
36 extern const int kTitleFontSize; // For title only. 36 extern const int kTitleFontSize; // For title only.
37 extern const int kTitleLineHeight; // In DIPs. 37 extern const int kTitleLineHeight; // In DIPs.
38 extern const int kMessageFontSize; // For everything but title. 38 extern const int kMessageFontSize; // For everything but title.
39 extern const int kMessageLineHeight; // In DIPs. 39 extern const int kMessageLineHeight; // In DIPs.
40 40
41 // Colors. 41 // Colors.
42 extern const SkColor kNotificationBackgroundColor; // Background of the card. 42 extern const SkColor kNotificationBackgroundColor; // Background of the card.
43 extern const SkColor kLegacyIconBackgroundColor; // Used behind icons smaller. 43 extern const SkColor kLegacyIconBackgroundColor; // Used behind icons smaller.
44 // than the icon view. 44 // than the icon view.
45 extern const SkColor kRegularTextColor; // Title, message, ... 45 extern const SkColor kRegularTextColor; // Title, message, ...
46 extern const SkColor kDimTextColor;
46 extern const SkColor kFocusBorderColor; // The focus border. 47 extern const SkColor kFocusBorderColor; // The focus border.
47 48
48 // Limits. 49 // Limits.
49 50
50 // Given the size of an image, returns the rect the image should be displayed 51 // Given the size of an image, returns the rect the image should be displayed
51 // in, centered. 52 // in, centered.
52 gfx::Size GetImageSizeForWidth(int width, const gfx::Size& image_size); 53 gfx::Size GetImageSizeForWidth(int width, const gfx::Size& image_size);
53 54
54 extern const int kNotificationMaximumImageHeight; // For image notifications. 55 extern const int kNotificationMaximumImageHeight; // For image notifications.
55 extern const size_t kNotificationMaximumItems; // For list notifications. 56 extern const size_t kNotificationMaximumItems; // For list notifications.
(...skipping 23 matching lines...) Expand all
79 80
80 extern const SkColor kShadowColor; // Shadow in the tray. 81 extern const SkColor kShadowColor; // Shadow in the tray.
81 82
82 extern const SkColor kMessageCenterBackgroundColor; 83 extern const SkColor kMessageCenterBackgroundColor;
83 extern const SkColor kFooterDelimiterColor; // Separator color for the tray. 84 extern const SkColor kFooterDelimiterColor; // Separator color for the tray.
84 extern const SkColor kFooterTextColor; // Text color for tray labels. 85 extern const SkColor kFooterTextColor; // Text color for tray labels.
85 86
86 } // namespace message_center 87 } // namespace message_center
87 88
88 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_ 89 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_STYLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/cocoa/notification_controller.mm ('k') | ui/message_center/message_center_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698