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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
58 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); | 58 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); |
59 | 59 |
60 const int kTrayPopupMinWidth = 300; | 60 const int kTrayPopupMinWidth = 300; |
61 const int kTrayPopupMaxWidth = 500; | 61 const int kTrayPopupMaxWidth = 500; |
62 const int kNotificationIconWidth = 40; | 62 const int kNotificationIconWidth = 40; |
63 const int kNotificationButtonWidth = 32; | 63 const int kNotificationButtonWidth = 32; |
64 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - | 64 const int kTrayNotificationContentsWidth = kTrayPopupMinWidth - |
65 (kNotificationIconWidth + kNotificationButtonWidth + | 65 (kNotificationIconWidth + kNotificationButtonWidth + |
66 (kTrayPopupPaddingHorizontal / 2) * 3); | 66 (kTrayPopupPaddingHorizontal / 2) * 3); |
67 const int kTraySpacing = 8; | 67 const int kTraySpacing = 8; |
68 const int kAlternateTraySpacing = 4; | |
Mr4D (OOO till 08-26)
2013/08/06 21:10:34
This feels rather odd. If in all cases where kTray
| |
68 | 69 |
69 } // namespace ash | 70 } // namespace ash |
OLD | NEW |