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

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

Issue 2678353005: Remove pre-MD code related to tray/menu user profiles. (Closed)
Patch Set: back out a11y changes and rebase Created 3 years, 10 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/common/system/tray/system_tray.cc ('k') | ash/common/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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 typedef unsigned int SkColor; 10 typedef unsigned int SkColor;
(...skipping 26 matching lines...) Expand all
37 // The minimum width of the tray menu. 37 // The minimum width of the tray menu.
38 extern const int kTrayMenuMinimumWidth; 38 extern const int kTrayMenuMinimumWidth;
39 extern const int kTrayMenuMinimumWidthMd; 39 extern const int kTrayMenuMinimumWidthMd;
40 40
41 extern const int kTrayPopupAutoCloseDelayInSeconds; 41 extern const int kTrayPopupAutoCloseDelayInSeconds;
42 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; 42 extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
43 extern const int kTrayPopupPaddingHorizontal; 43 extern const int kTrayPopupPaddingHorizontal;
44 extern const int kTrayPopupPaddingBetweenItems; 44 extern const int kTrayPopupPaddingBetweenItems;
45 // Used for buttons that have borders. 45 // Used for buttons that have borders.
46 extern const int kTrayPopupButtonEndMargin; 46 extern const int kTrayPopupButtonEndMargin;
47 extern const int kTrayPopupUserCardVerticalPadding;
48 // The padding used on the left and right of labels. This applies to all labels 47 // The padding used on the left and right of labels. This applies to all labels
49 // in the system menu. 48 // in the system menu.
50 extern const int kTrayPopupLabelHorizontalPadding; 49 extern const int kTrayPopupLabelHorizontalPadding;
51 50
52 // Padding used to adjust the slider position in volume row and brightness 51 // Padding used to adjust the slider position in volume row and brightness
53 // row horizontally. 52 // row horizontally.
54 extern const int kTrayPopupSliderPaddingMD; 53 extern const int kTrayPopupSliderPaddingMD;
55 54
56 // Padding used on right side of labels to keep minimum distance to the next 55 // Padding used on right side of labels to keep minimum distance to the next
57 // item. This applies to all labels in the system menu. 56 // item. This applies to all labels in the system menu.
58 extern const int kTrayPopupLabelRightPadding; 57 extern const int kTrayPopupLabelRightPadding;
59 58
60 extern const int kTrayPopupDetailsIconWidth; 59 extern const int kTrayPopupDetailsIconWidth;
61 extern const int kTrayPopupDetailsLabelExtraLeftMargin; 60 extern const int kTrayPopupDetailsLabelExtraLeftMargin;
62 extern const SkColor kTrayPopupHoverBackgroundColor; 61 extern const SkColor kTrayPopupHoverBackgroundColor;
63 extern const int kTrayPopupScrollSeparatorHeight; 62 extern const int kTrayPopupScrollSeparatorHeight;
64 extern const int kTrayRoundedBorderRadius; 63 extern const int kTrayRoundedBorderRadius;
65 64
66 // The width of ToggleButton views including any border padding. 65 // The width of ToggleButton views including any border padding.
67 extern const int kTrayToggleButtonWidth; 66 extern const int kTrayToggleButtonWidth;
68 67
69 extern const SkColor kBackgroundColor; 68 extern const SkColor kBackgroundColor;
70 extern const SkColor kHoverBackgroundColor; 69 extern const SkColor kHoverBackgroundColor;
71 extern const SkColor kPublicAccountBackgroundColor;
72 extern const SkColor kPublicAccountUserCardTextColor; 70 extern const SkColor kPublicAccountUserCardTextColor;
73 extern const SkColor kPublicAccountUserCardNameColor; 71 extern const SkColor kPublicAccountUserCardNameColor;
74 72
75 extern const SkColor kHeaderBackgroundColor; 73 extern const SkColor kHeaderBackgroundColor;
76 74
77 extern const SkColor kBorderDarkColor; 75 extern const SkColor kBorderDarkColor;
78 extern const SkColor kBorderLightColor; 76 extern const SkColor kBorderLightColor;
79 extern const SkColor kButtonStrokeColor; 77 extern const SkColor kButtonStrokeColor;
80 78
81 extern const SkColor kHeaderTextColorNormal; 79 extern const SkColor kHeaderTextColorNormal;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ASH_EXPORT int GetTrayConstant(TrayConstant constant); 202 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
205 203
206 namespace test { 204 namespace test {
207 const int kSettingsTrayItemViewId = 10000; 205 const int kSettingsTrayItemViewId = 10000;
208 const int kAccessibilityTrayItemViewId = 10001; 206 const int kAccessibilityTrayItemViewId = 10001;
209 } // namespace test 207 } // namespace test
210 208
211 } // namespace ash 209 } // namespace ash
212 210
213 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 211 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698