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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 extern const SkColor kHeaderTextColorHover; | 66 extern const SkColor kHeaderTextColorHover; |
| 67 | 67 |
| 68 extern const int kTrayPopupMinWidth; | 68 extern const int kTrayPopupMinWidth; |
| 69 extern const int kTrayPopupMaxWidth; | 69 extern const int kTrayPopupMaxWidth; |
| 70 extern const int kNotificationIconWidth; | 70 extern const int kNotificationIconWidth; |
| 71 extern const int kNotificationButtonWidth; | 71 extern const int kNotificationButtonWidth; |
| 72 extern const int kTrayNotificationContentsWidth; | 72 extern const int kTrayNotificationContentsWidth; |
| 73 | 73 |
| 74 extern const int kMessageCenterBubblePadding; | 74 extern const int kMessageCenterBubblePadding; |
| 75 | 75 |
| 76 extern const int kHitRegionPadding; | |
| 77 | |
| 78 // Separator is line of 1px wide and it is used to separate 2 tray items in the | |
|
varkha
2016/07/14 21:34:48
How about:
// Color and width of a line used to se
yiyix
2016/07/26 20:27:31
Done.
| |
| 79 // shelf. | |
| 80 extern const SkColor kSeparatorColor; | |
| 81 extern const int kSeparatorWidth; | |
| 82 | |
| 76 // The size and foreground color of the icons appearing in the material design | 83 // The size and foreground color of the icons appearing in the material design |
| 77 // system tray. | 84 // system tray. |
| 78 extern const int kTrayIconSize; | 85 extern const int kTrayIconSize; |
| 79 extern const SkColor kTrayIconColor; | 86 extern const SkColor kTrayIconColor; |
| 80 | 87 |
| 81 // The size and foreground color of the icons appearing in the material design | 88 // The size and foreground color of the icons appearing in the material design |
| 82 // system menu. | 89 // system menu. |
| 83 extern const int kMenuIconSize; | 90 extern const int kMenuIconSize; |
| 84 extern const SkColor kMenuIconColor; | 91 extern const SkColor kMenuIconColor; |
| 85 | 92 |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 104 int GetTrayConstant(TrayConstant constant); | 111 int GetTrayConstant(TrayConstant constant); |
| 105 | 112 |
| 106 namespace test { | 113 namespace test { |
| 107 const int kSettingsTrayItemViewId = 10000; | 114 const int kSettingsTrayItemViewId = 10000; |
| 108 const int kAccessibilityTrayItemViewId = 10001; | 115 const int kAccessibilityTrayItemViewId = 10001; |
| 109 } // namespace test | 116 } // namespace test |
| 110 | 117 |
| 111 } // namespace ash | 118 } // namespace ash |
| 112 | 119 |
| 113 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 120 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |