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

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

Issue 2468533002: [ash-md] Applied Material Design layout to TrayItemMore system menu rows. (Closed)
Patch Set: Merge branch 'master' into md_system_menu_tray_item_more_layout Created 4 years, 1 month 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/tray/tray_constants.h
diff --git a/ash/common/system/tray/tray_constants.h b/ash/common/system/tray/tray_constants.h
index 35225050ff51de05ad97c20d7c324d02c4a376b9..8f6cd42ec46afb2fafcb1b30b25aa4af227c48c3 100644
--- a/ash/common/system/tray/tray_constants.h
+++ b/ash/common/system/tray/tray_constants.h
@@ -51,6 +51,9 @@ extern const SkColor kTrayPopupHoverBackgroundColor;
extern const int kTrayPopupScrollSeparatorHeight;
extern const int kTrayRoundedBorderRadius;
+// The padding used on the left and right of labels.
tdanderson 2016/11/01 18:59:44 nit: please specify in the comment if the constant
bruthig 2016/11/01 23:00:43 Done.
+extern const int kTrayPopupLabelHorizontalPadding;
+
extern const SkColor kBackgroundColor;
extern const SkColor kHoverBackgroundColor;
extern const SkColor kPublicAccountBackgroundColor;
@@ -129,6 +132,12 @@ enum TrayConstant {
// The height of the rows in the system tray menu.
TRAY_POPUP_ITEM_HEIGHT,
+ // The width used for the main image of the row.
+ TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH,
+
+ // The width used for the 'more' arrow images.
+ TRAY_POPUP_ITEM_MORE_IMAGE_CONTAINER_WIDTH,
+
// The left inset for all tray system menu rows.
TRAY_POPUP_ITEM_LEFT_INSET,

Powered by Google App Engine
This is Rietveld 408576698