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

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
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f00b7f94627a41a876b837eff7417167983abc1f 100644
--- a/ash/common/system/tray/tray_constants.h
+++ b/ash/common/system/tray/tray_constants.h
@@ -38,9 +38,12 @@ extern const int kTrayPopupAutoCloseDelayInSeconds;
extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
extern const int kTrayPopupPaddingHorizontal;
extern const int kTrayPopupPaddingBetweenItems;
-extern const int kTrayPopupTextSpacingVertical;
extern const int kTrayPopupUserCardVerticalPadding;
+// The padding used on the left and right of labels. This applies to all labels
+// in the system menu.
+extern const int kTrayPopupLabelHorizontalPadding;
+
// Padding used to adjust the slider position in volume row and brightness
// row horizontally.
extern const int kTrayPopupSliderPaddingMD;
@@ -129,6 +132,15 @@ 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. This applies to all rows
+ // in the system menu that have a main image (e.g. default and detailed).
+ TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH,
+
+ // The width used for the 'more' arrow images. In general this applies to all
+ // rows in the system menu that have a 'more' image however most, if not all,
+ // are default rows.
+ TRAY_POPUP_ITEM_MORE_IMAGE_CONTAINER_WIDTH,
+
// The left inset for all tray system menu rows.
TRAY_POPUP_ITEM_LEFT_INSET,
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698