Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / ash / system / tray / tray_constants.h
blob480d5d54a3534d58635971ba40b64dc2aaeabac5
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 typedef unsigned int SkColor;
10 namespace ash {
12 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment;
13 extern const int kPaddingFromBottomOfScreenBottomAlignment;
14 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment;
15 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment;
16 extern const int kPaddingFromBottomOfScreenVerticalAlignment;
18 extern const int kPaddingFromEdgeOfShelf;
20 extern const int kTrayBubbleAnchorTopInsetBottomAnchor;
22 extern const int kTrayImageItemHorizontalPaddingBottomAlignment;
23 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment;
24 extern const int kTrayImageItemVerticalPaddingVerticalAlignment;
26 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment;
27 extern const int kTrayLabelItemVerticalPaddingVeriticalAlignment;
29 extern const int kTrayMenuBottomRowPadding;
30 extern const int kTrayMenuBottomRowPaddingBetweenItems;
32 extern const int kTrayPopupAutoCloseDelayInSeconds;
33 extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
34 extern const int kTrayPopupPaddingHorizontal;
35 extern const int kTrayPopupPaddingBetweenItems;
36 extern const int kTrayPopupTextSpacingVertical;
38 extern const int kTrayPopupItemHeight;
39 extern const int kTrayPopupDetailsIconWidth;
40 extern const int kTrayPopupScrollSeparatorHeight;
41 extern const int kTrayRoundedBorderRadius;
42 extern const int kTrayBarButtonWidth;
44 extern const SkColor kBackgroundColor;
45 extern const SkColor kHoverBackgroundColor;
46 extern const SkColor kPublicAccountBackgroundColor;
47 extern const SkColor kPublicAccountUserCardTextColor;
48 extern const SkColor kPublicAccountUserCardNameColor;
50 extern const SkColor kHeaderBackgroundColor;
52 extern const SkColor kBorderDarkColor;
53 extern const SkColor kBorderLightColor;
54 extern const SkColor kButtonStrokeColor;
56 extern const SkColor kHeaderTextColorNormal;
57 extern const SkColor kHeaderTextColorHover;
59 extern const int kTrayPopupMinWidth;
60 extern const int kTrayPopupMaxWidth;
61 extern const int kNotificationIconWidth;
62 extern const int kNotificationButtonWidth;
63 extern const int kTrayNotificationContentsWidth;
65 // Returns kTraySpacing or kAlternateTraySpacing as applicable
66 // (Determined by ash::switches::UseAlternateShelfLayout).
67 int GetTraySpacing();
69 } // namespace ash
71 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_