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 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
7 | 7 |
8 typedef unsigned int SkColor; | 8 typedef unsigned int SkColor; |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 extern const SkColor kHeaderTextColorNormal; | 56 extern const SkColor kHeaderTextColorNormal; |
57 extern const SkColor kHeaderTextColorHover; | 57 extern const SkColor kHeaderTextColorHover; |
58 | 58 |
59 extern const int kTrayPopupMinWidth; | 59 extern const int kTrayPopupMinWidth; |
60 extern const int kTrayPopupMaxWidth; | 60 extern const int kTrayPopupMaxWidth; |
61 extern const int kNotificationIconWidth; | 61 extern const int kNotificationIconWidth; |
62 extern const int kNotificationButtonWidth; | 62 extern const int kNotificationButtonWidth; |
63 extern const int kTrayNotificationContentsWidth; | 63 extern const int kTrayNotificationContentsWidth; |
64 | 64 |
65 extern const int kTraySpacing; | 65 // Returns kTraySpacing or kAlternateTraySpacing as applicable |
| 66 // (Determined by ash::switches::UseAlternateShelfLayout). |
| 67 int GetTraySpacing(); |
66 | 68 |
67 } // namespace ash | 69 } // namespace ash |
68 | 70 |
69 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 71 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
OLD | NEW |