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

Unified Diff: ash/common/system/web_notification/web_notification_tray.cc

Issue 2369293002: Set status tray height to 37px on login screen (Closed)
Patch Set: Created 4 years, 3 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: ash/common/system/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index 078c811f8db067fe46c61616e52f7fa2c5b5d49e..145e35f904b2167695c67726b447c5156e08ab4a 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -70,7 +70,8 @@ constexpr int kMaximumSmallIconCount = 3;
constexpr gfx::Size kTrayItemInnerIconSize(16, 16);
constexpr gfx::Size kTrayItemInnerBellIconSizeNonMd(18, 18);
constexpr gfx::Size kTrayItemOuterSize(26, 26);
-constexpr gfx::Insets kTrayItemInsets(3, 3);
+constexpr int kTrayMainAxisInset = 3;
+constexpr int kTrayCrossAxisInset = 0;
constexpr int kTrayItemAnimationDurationMS = 200;
@@ -334,7 +335,7 @@ WebNotificationTray::WebNotificationTray(WmShelf* shelf,
display);
OnMessageCenterTrayChanged();
- tray_container()->SetMargin(kTrayItemInsets);
+ tray_container()->SetMargin(kTrayMainAxisInset, kTrayCrossAxisInset);
}
WebNotificationTray::~WebNotificationTray() {

Powered by Google App Engine
This is Rietveld 408576698