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

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

Issue 2506133003: [ash-md] Allows ToggleButton to have a border and adds focus rectangle (Closed)
Patch Set: [ash-md] Allows ToggleButton to have a border and adds focus rectangle (nits) Created 4 years, 1 month 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 extern const int kTrayPopupDetailsIconWidth; 56 extern const int kTrayPopupDetailsIconWidth;
57 extern const int kTrayPopupDetailsLabelExtraLeftMargin; 57 extern const int kTrayPopupDetailsLabelExtraLeftMargin;
58 extern const SkColor kTrayPopupHoverBackgroundColor; 58 extern const SkColor kTrayPopupHoverBackgroundColor;
59 extern const int kTrayPopupScrollSeparatorHeight; 59 extern const int kTrayPopupScrollSeparatorHeight;
60 extern const int kTrayRoundedBorderRadius; 60 extern const int kTrayRoundedBorderRadius;
61 61
62 // The padding used on the left and right of labels. 62 // The padding used on the left and right of labels.
63 extern const int kTrayPopupLabelHorizontalPadding; 63 extern const int kTrayPopupLabelHorizontalPadding;
64 64
65 // The width of ToggleButtons.
tdanderson 2016/11/18 01:46:50 nit: mention this includes padding.
varkha 2016/11/18 01:52:07 Done.
66 extern const int kTrayToggleButtonWidth;
67
65 extern const SkColor kBackgroundColor; 68 extern const SkColor kBackgroundColor;
66 extern const SkColor kHoverBackgroundColor; 69 extern const SkColor kHoverBackgroundColor;
67 extern const SkColor kPublicAccountBackgroundColor; 70 extern const SkColor kPublicAccountBackgroundColor;
68 extern const SkColor kPublicAccountUserCardTextColor; 71 extern const SkColor kPublicAccountUserCardTextColor;
69 extern const SkColor kPublicAccountUserCardNameColor; 72 extern const SkColor kPublicAccountUserCardNameColor;
70 73
71 extern const SkColor kHeaderBackgroundColor; 74 extern const SkColor kHeaderBackgroundColor;
72 75
73 extern const SkColor kBorderDarkColor; 76 extern const SkColor kBorderDarkColor;
74 extern const SkColor kBorderLightColor; 77 extern const SkColor kBorderLightColor;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 int GetTrayConstant(TrayConstant constant); 193 int GetTrayConstant(TrayConstant constant);
191 194
192 namespace test { 195 namespace test {
193 const int kSettingsTrayItemViewId = 10000; 196 const int kSettingsTrayItemViewId = 10000;
194 const int kAccessibilityTrayItemViewId = 10001; 197 const int kAccessibilityTrayItemViewId = 10001;
195 } // namespace test 198 } // namespace test
196 199
197 } // namespace ash 200 } // namespace ash
198 201
199 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 202 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698