Chromium Code Reviews| 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_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 typedef unsigned int SkColor; | 10 typedef unsigned int SkColor; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 69 extern const SkColor kHeaderTextColorHover; | 69 extern const SkColor kHeaderTextColorHover; |
| 70 | 70 |
| 71 extern const int kTrayPopupMinWidth; | 71 extern const int kTrayPopupMinWidth; |
| 72 extern const int kTrayPopupMaxWidth; | 72 extern const int kTrayPopupMaxWidth; |
| 73 extern const int kNotificationIconWidth; | 73 extern const int kNotificationIconWidth; |
| 74 extern const int kNotificationButtonWidth; | 74 extern const int kNotificationButtonWidth; |
| 75 extern const int kTrayNotificationContentsWidth; | 75 extern const int kTrayNotificationContentsWidth; |
| 76 | 76 |
| 77 extern const int kMessageCenterBubblePadding; | 77 extern const int kMessageCenterBubblePadding; |
| 78 | 78 |
| 79 extern const int kHitRegionPadding; | |
|
James Cook
2016/08/09 00:25:18
nit: document this
yiyix
2016/08/11 01:23:20
Done.
| |
| 80 | |
| 81 // Color and width of a line used to separate tray items in the shelf. | |
| 82 extern const SkColor kSeparatorColor; | |
| 83 extern const int kSeparatorWidth; | |
| 84 | |
| 79 // The size and foreground color of the icons appearing in the material design | 85 // The size and foreground color of the icons appearing in the material design |
| 80 // system tray. | 86 // system tray. |
| 81 extern const int kTrayIconSize; | 87 extern const int kTrayIconSize; |
| 82 extern const SkColor kTrayIconColor; | 88 extern const SkColor kTrayIconColor; |
| 83 | 89 |
| 84 // The size and foreground color of the icons appearing in the material design | 90 // The size and foreground color of the icons appearing in the material design |
| 85 // system menu. | 91 // system menu. |
| 86 extern const int kMenuIconSize; | 92 extern const int kMenuIconSize; |
| 87 extern const SkColor kMenuIconColor; | 93 extern const SkColor kMenuIconColor; |
| 88 | 94 |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 110 int GetTrayConstant(TrayConstant constant); | 116 int GetTrayConstant(TrayConstant constant); |
| 111 | 117 |
| 112 namespace test { | 118 namespace test { |
| 113 const int kSettingsTrayItemViewId = 10000; | 119 const int kSettingsTrayItemViewId = 10000; |
| 114 const int kAccessibilityTrayItemViewId = 10001; | 120 const int kAccessibilityTrayItemViewId = 10001; |
| 115 } // namespace test | 121 } // namespace test |
| 116 | 122 |
| 117 } // namespace ash | 123 } // namespace ash |
| 118 | 124 |
| 119 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 125 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |