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 |
11 const int kPaddingFromRightEdgeOfScreenBottomAlignment = 15; | 11 const int kPaddingFromRightEdgeOfScreenBottomAlignment = 15; |
12 const int kPaddingFromBottomOfScreenBottomAlignment = 10; | 12 const int kPaddingFromBottomOfScreenBottomAlignment = 10; |
13 const int kPaddingFromEdgeOfScreenVerticalAlignment = 4; | 13 const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment = 8; |
14 const int kPaddingFromEdgeOfLauncherVerticalAlignment = 4; | 14 const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment = 7; |
15 const int kPaddingFromBottomOfScreenVerticalAlignment = 10; | 15 const int kPaddingFromBottomOfScreenVerticalAlignment = 10; |
16 | 16 |
17 const int kTrayPopupAutoCloseDelayInSeconds = 2; | 17 const int kTrayPopupAutoCloseDelayInSeconds = 2; |
18 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; | 18 const int kTrayPopupAutoCloseDelayForTextInSeconds = 5; |
19 const int kTrayPopupPaddingHorizontal = 18; | 19 const int kTrayPopupPaddingHorizontal = 18; |
20 const int kTrayPopupPaddingBetweenItems = 10; | 20 const int kTrayPopupPaddingBetweenItems = 10; |
21 const int kTrayPopupTextSpacingVertical = 4; | 21 const int kTrayPopupTextSpacingVertical = 4; |
22 | 22 |
23 const int kTrayPopupItemHeight = 48; | 23 const int kTrayPopupItemHeight = 48; |
24 const int kTrayPopupDetailsIconWidth = 27; | 24 const int kTrayPopupDetailsIconWidth = 27; |
(...skipping 13 matching lines...) Expand all Loading... |
38 | 38 |
39 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); | 39 const SkColor kHeaderTextColorNormal = SkColorSetARGB(0x7f, 0, 0, 0); |
40 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); | 40 const SkColor kHeaderTextColorHover = SkColorSetARGB(0xd3, 0, 0, 0); |
41 | 41 |
42 const int kTrayPopupWidth = 300; | 42 const int kTrayPopupWidth = 300; |
43 const int kNotificationIconWidth = 40; | 43 const int kNotificationIconWidth = 40; |
44 const int kTrayNotificationContentsWidth = | 44 const int kTrayNotificationContentsWidth = |
45 kTrayPopupWidth - kNotificationIconWidth*2 - kTrayPopupPaddingHorizontal*2; | 45 kTrayPopupWidth - kNotificationIconWidth*2 - kTrayPopupPaddingHorizontal*2; |
46 | 46 |
47 } // namespace ash | 47 } // namespace ash |
OLD | NEW |