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

Unified Diff: ash/system/tray/tray_constants.h

Issue 2889623002: Apply View::set_preferred_size in some more places. (Closed)
Patch Set: fix SystemMenuButton Created 3 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 | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_constants.h
diff --git a/ash/system/tray/tray_constants.h b/ash/system/tray/tray_constants.h
index c3c20cbc8e6f60b6fe409da9e5c8e89d8e2fd2b0..620cfecd96e34f7c8601cd141b0043632da8eb63 100644
--- a/ash/system/tray/tray_constants.h
+++ b/ash/system/tray/tray_constants.h
@@ -33,7 +33,7 @@ extern const int kTrayImageItemHorizontalPaddingVerticalAlignment;
ASH_EXPORT extern const int kTrayItemSize;
// Extra padding used beside a single icon in the tray area of the shelf.
-extern const int kTrayImageItemPadding;
+constexpr int kTrayImageItemPadding = 3;
extern const int kTrayLabelItemHorizontalPaddingBottomAlignment;
extern const int kTrayLabelItemVerticalPaddingVerticalAlignment;
@@ -106,7 +106,7 @@ extern const SkColor kTrayIconColor;
// The total visual padding at the start and end of the icon/label section
// of the tray.
-extern const int kTrayEdgePadding;
+constexpr int kTrayEdgePadding = 6;
// The size and foreground color of the icons appearing in the material design
// system menu.
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698