| 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 "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 const int kTrayPopupAutoCloseDelayInSeconds = 2; | 44 const int kTrayPopupAutoCloseDelayInSeconds = 2; |
| 45 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; | 45 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; |
| 46 const int kTrayPopupPaddingHorizontal = 18; | 46 const int kTrayPopupPaddingHorizontal = 18; |
| 47 const int kTrayPopupPaddingBetweenItems = 10; | 47 const int kTrayPopupPaddingBetweenItems = 10; |
| 48 const int kTrayPopupTextSpacingVertical = 4; | 48 const int kTrayPopupTextSpacingVertical = 4; |
| 49 const int kTrayPopupUserCardVerticalPadding = 10; | 49 const int kTrayPopupUserCardVerticalPadding = 10; |
| 50 | 50 |
| 51 const int kTrayPopupDetailsIconWidth = 25; | 51 const int kTrayPopupDetailsIconWidth = 25; |
| 52 const int kTrayPopupDetailsLabelExtraLeftMargin = 8; | 52 const int kTrayPopupDetailsLabelExtraLeftMargin = 8; |
| 53 const SkColor kTrayPopupHoverBackgroundColor = SkColorSetRGB(0xe4, 0xe4, 0xe4); |
| 53 const int kTrayPopupScrollSeparatorHeight = 15; | 54 const int kTrayPopupScrollSeparatorHeight = 15; |
| 54 const int kTrayRoundedBorderRadius = 2; | 55 const int kTrayRoundedBorderRadius = 2; |
| 55 const int kTrayBarButtonWidth = 39; | 56 const int kTrayBarButtonWidth = 39; |
| 56 | 57 |
| 57 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); | 58 const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe); |
| 58 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf3, 0xf3, 0xf3); | 59 const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf3, 0xf3, 0xf3); |
| 59 const SkColor kPublicAccountBackgroundColor = SkColorSetRGB(0xf8, 0xe5, 0xb6); | 60 const SkColor kPublicAccountBackgroundColor = SkColorSetRGB(0xf8, 0xe5, 0xb6); |
| 60 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); | 61 const SkColor kPublicAccountUserCardTextColor = SkColorSetRGB(0x66, 0x66, 0x66); |
| 61 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; | 62 const SkColor kPublicAccountUserCardNameColor = SK_ColorBLACK; |
| 62 | 63 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 77 (kNotificationIconWidth + kNotificationButtonWidth + | 78 (kNotificationIconWidth + kNotificationButtonWidth + |
| 78 (kTrayPopupPaddingHorizontal / 2) * 3); | 79 (kTrayPopupPaddingHorizontal / 2) * 3); |
| 79 | 80 |
| 80 const int kTrayAvatarCornerRadius = 2; | 81 const int kTrayAvatarCornerRadius = 2; |
| 81 const int kTrayAvatarSize = 32; | 82 const int kTrayAvatarSize = 32; |
| 82 | 83 |
| 83 const int kTraySpacing = 4; | 84 const int kTraySpacing = 4; |
| 84 const int kShelfItemHeight = 38; | 85 const int kShelfItemHeight = 38; |
| 85 | 86 |
| 86 } // namespace ash | 87 } // namespace ash |
| OLD | NEW |