| 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 "third_party/skia/include/core/SkColor.h" | 7 #include "third_party/skia/include/core/SkColor.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); | 55 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); |
| 56 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); | 56 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); |
| 57 | 57 |
| 58 const int kTrayPopupMinWidth = 300; | 58 const int kTrayPopupMinWidth = 300; |
| 59 const int kTrayPopupMaxWidth = 500; | 59 const int kTrayPopupMaxWidth = 500; |
| 60 const int kNotificationIconWidth = 40; | 60 const int kNotificationIconWidth = 40; |
| 61 // TODO(stevenjb): This calculation is wrong (http://crbug.com/163402). | 61 // TODO(stevenjb): This calculation is wrong (http://crbug.com/163402). |
| 62 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - | 62 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - |
| 63 (kNotificationIconWidth + kTrayPopupPaddingHorizontal) * 2; | 63 (kNotificationIconWidth + kTrayPopupPaddingHorizontal) * 2; |
| 64 | 64 |
| 65 const int kTraySpacing = 8; |
| 66 |
| 65 } // namespace ash | 67 } // namespace ash |
| OLD | NEW |