Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ash / system / tray / tray_constants.h
blobfa633cffd97a29fdd7d73e22c3b16470cf766e92
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
8 #include "ash/ash_export.h"
10 typedef unsigned int SkColor;
12 namespace ash {
14 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment;
15 extern const int kPaddingFromBottomOfScreenBottomAlignment;
16 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment;
17 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment;
18 extern const int kPaddingFromBottomOfScreenVerticalAlignment;
20 extern const int kBubblePaddingHorizontalBottom;
21 extern const int kBubblePaddingHorizontalSide;
22 extern const int kBubblePaddingVerticalBottom;
23 extern const int kBubblePaddingVerticalSide;
25 extern const int kPaddingFromEdgeOfShelf;
26 extern const int kTrayBubbleAnchorTopInsetBottomAnchor;
28 extern const int kTrayImageItemHorizontalPaddingBottomAlignment;
29 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment;
30 extern const int kTrayImageItemVerticalPaddingVerticalAlignment;
32 ASH_EXPORT extern const int kTrayItemSize;
34 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment;
35 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment;
37 extern const int kTrayMenuBottomRowPadding;
38 extern const int kTrayMenuBottomRowPaddingBetweenItems;
40 extern const int kTrayPopupAutoCloseDelayInSeconds;
41 extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
42 extern const int kTrayPopupPaddingHorizontal;
43 extern const int kTrayPopupPaddingBetweenItems;
44 extern const int kTrayPopupTextSpacingVertical;
45 extern const int kTrayPopupUserCardVerticalPadding;
47 const int kTrayPopupItemHeight = 46;
48 extern const int kTrayPopupDetailsIconWidth;
49 extern const int kTrayPopupDetailsLabelExtraLeftMargin;
50 extern const SkColor kTrayPopupHoverBackgroundColor;
51 extern const int kTrayPopupScrollSeparatorHeight;
52 extern const int kTrayRoundedBorderRadius;
53 extern const int kTrayBarButtonWidth;
55 extern const SkColor kBackgroundColor;
56 extern const SkColor kHoverBackgroundColor;
57 extern const SkColor kPublicAccountBackgroundColor;
58 extern const SkColor kPublicAccountUserCardTextColor;
59 extern const SkColor kPublicAccountUserCardNameColor;
61 extern const SkColor kHeaderBackgroundColor;
63 extern const SkColor kBorderDarkColor;
64 extern const SkColor kBorderLightColor;
65 extern const SkColor kButtonStrokeColor;
67 extern const SkColor kHeaderTextColorNormal;
68 extern const SkColor kHeaderTextColorHover;
70 extern const int kTrayPopupMinWidth;
71 extern const int kTrayPopupMaxWidth;
72 extern const int kNotificationIconWidth;
73 extern const int kNotificationButtonWidth;
74 extern const int kTrayNotificationContentsWidth;
76 extern const int kTrayAvatarCornerRadius;
77 extern const int kTrayAvatarSize;
79 extern const int kTraySpacing;
80 extern const int kShelfItemHeight;
82 namespace test {
83 const int kSettingsTrayItemViewId = 10000;
84 const int kAccessibilityTrayItemViewId = 10001;
85 } // namespace test
87 } // namespace ash
89 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_