OLD | NEW |
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 #include "ash/system/tray/tray_constants.h" | 5 #include "ash/system/tray/tray_constants.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
9 #include "ui/gfx/color_palette.h" | 9 #include "ui/gfx/color_palette.h" |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const int kTrayPopupLabelHorizontalPadding = 4; | 51 const int kTrayPopupLabelHorizontalPadding = 4; |
52 const int kTrayPopupItemMinHeight = 48; | 52 const int kTrayPopupItemMinHeight = 48; |
53 const int kTrayPopupItemMinStartWidth = 48; | 53 const int kTrayPopupItemMinStartWidth = 48; |
54 const int kTrayPopupItemMinEndWidth = | 54 const int kTrayPopupItemMinEndWidth = |
55 kMenuIconSize + 2 * kTrayPopupButtonEndMargin; | 55 kMenuIconSize + 2 * kTrayPopupButtonEndMargin; |
56 | 56 |
57 const int kTrayDetailedViewTransitionDelayMs = 100; | 57 const int kTrayDetailedViewTransitionDelayMs = 100; |
58 | 58 |
59 const int kTrayPopupLabelRightPadding = 8; | 59 const int kTrayPopupLabelRightPadding = 8; |
60 | 60 |
61 const int kTrayPopupDetailsIconWidth = 25; | |
62 const SkColor kTrayPopupHoverBackgroundColor = SkColorSetRGB(0xe4, 0xe4, 0xe4); | 61 const SkColor kTrayPopupHoverBackgroundColor = SkColorSetRGB(0xe4, 0xe4, 0xe4); |
63 const int kTrayRoundedBorderRadius = 2; | 62 const int kTrayRoundedBorderRadius = 2; |
64 | 63 |
65 const int kTrayToggleButtonWidth = 68; | 64 const int kTrayToggleButtonWidth = 68; |
66 | 65 |
67 const SkColor kBackgroundColor = SK_ColorWHITE; | 66 const SkColor kBackgroundColor = SK_ColorWHITE; |
68 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); | 67 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); |
69 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; | 68 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; |
70 | 69 |
71 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); | 70 const SkColor kHeaderBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5); |
(...skipping 28 matching lines...) Expand all Loading... |
100 | 99 |
101 const SkColor kTrayPopupInkDropBaseColor = SK_ColorBLACK; | 100 const SkColor kTrayPopupInkDropBaseColor = SK_ColorBLACK; |
102 const float kTrayPopupInkDropRippleOpacity = 0.06f; | 101 const float kTrayPopupInkDropRippleOpacity = 0.06f; |
103 const float kTrayPopupInkDropHighlightOpacity = 0.08f; | 102 const float kTrayPopupInkDropHighlightOpacity = 0.08f; |
104 const int kTrayPopupInkDropInset = 4; | 103 const int kTrayPopupInkDropInset = 4; |
105 const int kTrayPopupInkDropCornerRadius = 2; | 104 const int kTrayPopupInkDropCornerRadius = 2; |
106 | 105 |
107 const int kTrayPopupSystemInfoRowHeight = 40; | 106 const int kTrayPopupSystemInfoRowHeight = 40; |
108 | 107 |
109 } // namespace ash | 108 } // namespace ash |
OLD | NEW |