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

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

Issue 1998933002: Update shelf spacing in Chrome OS according to the MD specs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ash/system/tray/tray_constants.h
diff --git a/ash/system/tray/tray_constants.h b/ash/system/tray/tray_constants.h
index fa633cffd97a29fdd7d73e22c3b16470cf766e92..4fc18190aa5f0aef60aa7465cf9074ef2aaa8398 100644
--- a/ash/system/tray/tray_constants.h
+++ b/ash/system/tray/tray_constants.h
@@ -22,7 +22,18 @@ extern const int kBubblePaddingHorizontalSide;
extern const int kBubblePaddingVerticalBottom;
extern const int kBubblePaddingVerticalSide;
-extern const int kPaddingFromEdgeOfShelf;
+extern const int kEmptyBoarderPadding;
bruthig 2016/05/25 20:24:53 sp: Boarder->Border
yiyix 2016/06/02 03:54:54 Done.
+enum ShelfStatusAreaInset {
+ // Padding between the edge of the shelf and the status tray area.
+ PADDING_FROM_EDGE_OF_SHELF,
+
+ // Padding between icons in the status tray area.
+ TRAY_SPACING,
+
+ // Padding between the edge of shelf and the overview button.
+ PADDING_FROM_EDGE_TO_OVERVIEW_BUTTON,
bruthig 2016/05/25 20:24:53 Remove this value and use PADDING_FROM_EDGE_OF_SHE
yiyix 2016/06/02 03:54:54 Done.
+};
+
extern const int kTrayBubbleAnchorTopInsetBottomAnchor;
extern const int kTrayImageItemHorizontalPaddingBottomAlignment;
@@ -76,9 +87,11 @@ extern const int kTrayNotificationContentsWidth;
extern const int kTrayAvatarCornerRadius;
extern const int kTrayAvatarSize;
-extern const int kTraySpacing;
+extern const int kMessageCenterBubblePadding;
extern const int kShelfItemHeight;
+int GetShelfStatusAreaInset(ShelfStatusAreaInset constant);
+
namespace test {
const int kSettingsTrayItemViewId = 10000;
const int kAccessibilityTrayItemViewId = 10001;

Powered by Google App Engine
This is Rietveld 408576698