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

Unified Diff: ui/message_center/message_center_constants.cc

Issue 14327004: Moved some message center constants to message_center_constants.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 8 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/message_center_constants.h ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_constants.cc
diff --git a/ui/message_center/message_center_constants.cc b/ui/message_center/message_center_constants.cc
index d42669e03f1f5e6c33eff2a370935e7d408f841c..efcf5fe81df08da9f5b7c56278c0eb2bd45d08bc 100644
--- a/ui/message_center/message_center_constants.cc
+++ b/ui/message_center/message_center_constants.cc
@@ -14,6 +14,10 @@ const int kNotificationIconSize = 80;
const int kNotificationPreferredImageSize = kNotificationWidth;
const int kSettingsIconSize = 16;
+// Limits.
+const size_t kMaxVisibleMessageCenterNotifications = 100;
+const size_t kMaxVisiblePopupNotifications = 3;
+
// Within a notification ///////////////////////////////////////////////////////
// Pixel dimensions.
« no previous file with comments | « ui/message_center/message_center_constants.h ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698