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. 4 5 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 7 8 #include "ash/ash_export.h" 9 10 typedef unsigned int SkColor; 11 12 namespace ash { 13 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; 19 20 extern const int kBubblePaddingHorizontalBottom; 21 extern const int kBubblePaddingHorizontalSide; 22 extern const int kBubblePaddingVerticalBottom; 23 extern const int kBubblePaddingVerticalSide; 24 25 extern const int kPaddingFromEdgeOfShelf; 26 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; 27 28 extern const int kTrayImageItemHorizontalPaddingBottomAlignment; 29 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; 30 extern const int kTrayImageItemVerticalPaddingVerticalAlignment; 31 32 ASH_EXPORT extern const int kTrayItemSize; 33 34 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; 35 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; 36 37 extern const int kTrayMenuBottomRowPadding; 38 extern const int kTrayMenuBottomRowPaddingBetweenItems; 39 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; 46 47 const int kTrayPopupItemHeight = 48; 48 extern const int kTrayPopupDetailsIconWidth; 49 extern const int kTrayPopupDetailsLabelExtraLeftMargin; 50 extern const int kTrayPopupScrollSeparatorHeight; 51 extern const int kTrayRoundedBorderRadius; 52 extern const int kTrayBarButtonWidth; 53 54 extern const SkColor kBackgroundColor; 55 extern const SkColor kHoverBackgroundColor; 56 extern const SkColor kPublicAccountBackgroundColor; 57 extern const SkColor kPublicAccountUserCardTextColor; 58 extern const SkColor kPublicAccountUserCardNameColor; 59 60 extern const SkColor kHeaderBackgroundColor; 61 62 extern const SkColor kBorderDarkColor; 63 extern const SkColor kBorderLightColor; 64 extern const SkColor kButtonStrokeColor; 65 66 extern const SkColor kHeaderTextColorNormal; 67 extern const SkColor kHeaderTextColorHover; 68 69 extern const int kTrayPopupMinWidth; 70 extern const int kTrayPopupMaxWidth; 71 extern const int kNotificationIconWidth; 72 extern const int kNotificationButtonWidth; 73 extern const int kTrayNotificationContentsWidth; 74 75 extern const int kTrayAvatarCornerRadius; 76 extern const int kTrayAvatarSize; 77 78 extern const int kTraySpacing; 79 extern const int kShelfItemHeight; 80 81 namespace test { 82 const int kSettingsTrayItemViewId = 10000; 83 const int kAccessibilityTrayItemViewId = 10001; 84 } // namespace test 85 86 } // namespace ash 87 88 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 89