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

Side by Side Diff: ash/system/tray/tray_constants.h

Issue 2056683003: mash: Move tray_constants.h and FixedSizedImageView to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ash/system/tray/tray_bar_button_with_title.cc ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 = 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;
54
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;
60
61 extern const SkColor kHeaderBackgroundColor;
62
63 extern const SkColor kBorderDarkColor;
64 extern const SkColor kBorderLightColor;
65 extern const SkColor kButtonStrokeColor;
66
67 extern const SkColor kHeaderTextColorNormal;
68 extern const SkColor kHeaderTextColorHover;
69
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;
75
76 extern const int kTrayAvatarCornerRadius;
77 extern const int kTrayAvatarSize;
78
79 extern const int kTraySpacing;
80 extern const int kShelfItemHeight;
81
82 namespace test {
83 const int kSettingsTrayItemViewId = 10000;
84 const int kAccessibilityTrayItemViewId = 10001;
85 } // namespace test
86
87 } // namespace ash
88
89 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_bar_button_with_title.cc ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698