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

Unified Diff: ui/message_center/message_center_constants.cc

Issue 15025002: Remove ENABLE_MESSAGE_CENTER (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing static initializer 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/message_center.gyp ('k') | ui/message_center/message_center_util.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 adfebfbfaa09e90b86393352315550f35675b20e..5eeb450842428dfb668d29d928696d930238c169 100644
--- a/ui/message_center/message_center_constants.cc
+++ b/ui/message_center/message_center_constants.cc
@@ -11,7 +11,8 @@ namespace message_center {
// Square image sizes in pixels.
const int kNotificationButtonIconSize = 16;
const int kNotificationIconSize = 80;
-const int kNotificationPreferredImageSize = kNotificationWidth;
+// Same as kNotificationWidth.
+const int kNotificationPreferredImageSize = 360;
const int kSettingsIconSize = 16;
// Limits.
@@ -39,7 +40,8 @@ const SkColor kRegularTextColor = SkColorSetRGB(34, 34, 34);
const SkColor kFocusBorderColor = SkColorSetRGB(64, 128, 250);
// Limits.
-const int kNotificationMaximumImageHeight = kNotificationWidth * 1.5;
+// kNotificationWidth * 1.5
+const int kNotificationMaximumImageHeight = 540;
const size_t kNotificationMaximumItems = 8;
// Timing.
« no previous file with comments | « ui/message_center/message_center.gyp ('k') | ui/message_center/message_center_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698