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

Unified Diff: ui/message_center/message_center_style.h

Issue 23462005: Adds the contextMessage field to notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
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 123536337518760471fb9ade60c37c3d9c7586cc..8654b9d0aa9535d688f5f8f839ca0fb24b53a824 100644
--- a/ui/message_center/message_center_style.h
+++ b/ui/message_center/message_center_style.h
@@ -43,10 +43,12 @@ extern const int kIconBottomPadding; // Minimum non-zero V space between icon
// and frame.
// Text sizes.
-extern const int kTitleFontSize; // For title only.
-extern const int kTitleLineHeight; // In DIPs.
-extern const int kMessageFontSize; // For everything but title.
-extern const int kMessageLineHeight; // In DIPs.
+extern const int kTitleFontSize; // For title only.
+extern const int kTitleLineHeight; // In DIPs.
+extern const int kMessageFontSize; // For everything but title.
+extern const int kMessageLineHeight; // In DIPs.
+extern const int kContextMessageFontSize; // For everything but title.
jianli 2013/08/28 21:30:54 the comment is quite confusing with the one in kMe
dewittj 2013/08/29 17:40:10 Removed.
+extern const int kContextMessageLineHeight; // In DIPs.
// Colors.
extern const SkColor kNotificationBackgroundColor; // Background of the card.
@@ -54,7 +56,8 @@ extern const SkColor kLegacyIconBackgroundColor; // Used behind icons smaller.
// than the icon view.
extern const SkColor kRegularTextColor; // Title, message, ...
extern const SkColor kDimTextColor;
-extern const SkColor kFocusBorderColor; // The focus border.
+extern const SkColor kContextTextColor;
+extern const SkColor kFocusBorderColor; // The focus border.
// Limits.
@@ -91,6 +94,7 @@ const SkColor kProgressBarSliceColor = SkColorSetRGB(120, 120, 120);
const int kTitleLineLimit = 3;
const int kMessageCollapsedLineLimit = 3;
const int kMessageExpandedLineLimit = 7;
+const int kContextMessageLineLimit = 1;
// Around notifications ////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698