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

Unified Diff: ash/common/system/tray/tray_constants.cc

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits Created 4 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 | « ash/common/system/tray/tray_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_constants.cc
diff --git a/ash/common/system/tray/tray_constants.cc b/ash/common/system/tray/tray_constants.cc
index 74aba82f2f72d0eb3605fc63d1052ddc9963e678..ae03932dc4b5d2cb9fe52aa3cca2c4c461215a6e 100644
--- a/ash/common/system/tray/tray_constants.cc
+++ b/ash/common/system/tray/tray_constants.cc
@@ -88,10 +88,14 @@ const SkColor kTrayIconColor = SK_ColorWHITE;
const int kMenuIconSize = 20;
const SkColor kMenuIconColor = SkColorSetRGB(0x5A, 0x5A, 0x5A);
+const int kHitRegionPadding = 4;
+const SkColor kSeparatorColor = SkColorSetA(SK_ColorWHITE, 0x3D);
+const int kSeparatorWidth = 1;
+
int GetTrayConstant(TrayConstant constant) {
const int kTrayItemHeightLegacy[] = {38, 38, kTrayItemSize};
- const int kTraySpacing[] = {4, 4, 8};
- const int kTrayPaddingFromEdgeOfShelf[] = {3, 3, 8};
+ const int kTraySpacing[] = {4, 4, 0};
+ const int kTrayPaddingFromEdgeOfShelf[] = {3, 3, 4};
const int kTrayPopupItemHeight[] = {46, 46, 48};
const int kVirtualKeyboardButtonSize[] = {39, 39, kTrayItemSize};
« no previous file with comments | « ash/common/system/tray/tray_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698