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

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: Adjust unit test due to bugfix in toast layout. 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
« no previous file with comments | « ui/message_center/cocoa/popup_collection_unittest.mm ('k') | ui/message_center/message_center_style.cc » ('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 123536337518760471fb9ade60c37c3d9c7586cc..29f9f75175cc8b0d8937ed52863fe38b3e6a1df7 100644
--- a/ui/message_center/message_center_style.h
+++ b/ui/message_center/message_center_style.h
@@ -43,10 +43,10 @@ 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.
// Colors.
extern const SkColor kNotificationBackgroundColor; // Background of the card.
@@ -54,7 +54,7 @@ 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 kFocusBorderColor; // The focus border.
// Limits.
@@ -91,6 +91,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 ////////////////////////////////////////////////////////
« no previous file with comments | « ui/message_center/cocoa/popup_collection_unittest.mm ('k') | ui/message_center/message_center_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698