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

Unified Diff: ui/message_center/message_center_style.h

Issue 142413005: Add an empty message to the notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds one more nit fix. Created 6 years, 11 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 7aeadde4b3d1fc2de4835887d6b842f159af2a9e..8de6631ee4dfdac590d6eadae08db4cba2497602 100644
--- a/ui/message_center/message_center_style.h
+++ b/ui/message_center/message_center_style.h
@@ -29,6 +29,7 @@ const size_t kMaxVisiblePopupNotifications = 3;
// DIP dimension; H size of the whole card.
const int kNotificationWidth = 360;
+const int kMinScrollViewHeight = 100;
// Colors.
MESSAGE_CENTER_EXPORT extern const SkColor kMessageCenterBorderColor;
@@ -62,6 +63,7 @@ const int kIconBottomPadding = 16; // Minimum non-zero V space between icon
// Text sizes.
const int kTitleFontSize = 14; // For title only.
+const int kEmptyCenterFontSize = 13; // For empty message only.
const int kTitleLineHeight = 20; // In DIPs.
const int kMessageFontSize = 12; // For everything but title.
const int kMessageLineHeight = 18; // In DIPs.
« no previous file with comments | « ui/message_center/cocoa/tray_view_controller_unittest.mm ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698