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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 // Padding between items in the status tray area. | 109 // Padding between items in the status tray area. |
110 TRAY_SPACING, | 110 TRAY_SPACING, |
111 | 111 |
112 // Padding between the edge of shelf and the item in status tray area. | 112 // Padding between the edge of shelf and the item in status tray area. |
113 TRAY_PADDING_FROM_EDGE_OF_SHELF, | 113 TRAY_PADDING_FROM_EDGE_OF_SHELF, |
114 | 114 |
115 // The height of the rows in the system tray menu. | 115 // The height of the rows in the system tray menu. |
116 TRAY_POPUP_ITEM_HEIGHT, | 116 TRAY_POPUP_ITEM_HEIGHT, |
117 | 117 |
| 118 // The left inset for all tray system menu rows. |
| 119 TRAY_POPUP_ITEM_LEFT_INSET, |
| 120 |
| 121 // The right inset for all tray system menu rows. |
| 122 TRAY_POPUP_ITEM_RIGHT_INSET, |
| 123 |
| 124 // The minimum default width for the left container of the system menu rows. |
| 125 TRAY_POPUP_ITEM_MIN_START_WIDTH, |
| 126 |
| 127 // The minimum default width for the right container of the system menu rows. |
| 128 TRAY_POPUP_ITEM_MIN_END_WIDTH, |
| 129 |
118 // The width and height of the virtual keyboard button in the status tray | 130 // The width and height of the virtual keyboard button in the status tray |
119 // area. For non-MD, adjustments are made to the button dimensions based on | 131 // area. For non-MD, adjustments are made to the button dimensions based on |
120 // the shelf orientation, so this constant does not specify the true | 132 // the shelf orientation, so this constant does not specify the true |
121 // user-visible button bounds. | 133 // user-visible button bounds. |
122 VIRTUAL_KEYBOARD_BUTTON_SIZE, | 134 VIRTUAL_KEYBOARD_BUTTON_SIZE, |
123 | 135 |
124 // The icon size of opt-in IME menu tray. | 136 // The icon size of opt-in IME menu tray. |
125 TRAY_IME_MENU_ICON, | 137 TRAY_IME_MENU_ICON, |
126 | 138 |
127 // Extra padding used beside a single icon in the tray area of the shelf. | 139 // Extra padding used beside a single icon in the tray area of the shelf. |
128 TRAY_IMAGE_ITEM_PADDING, | 140 TRAY_IMAGE_ITEM_PADDING, |
129 }; | 141 }; |
130 | 142 |
131 int GetTrayConstant(TrayConstant constant); | 143 int GetTrayConstant(TrayConstant constant); |
132 | 144 |
133 namespace test { | 145 namespace test { |
134 const int kSettingsTrayItemViewId = 10000; | 146 const int kSettingsTrayItemViewId = 10000; |
135 const int kAccessibilityTrayItemViewId = 10001; | 147 const int kAccessibilityTrayItemViewId = 10001; |
136 } // namespace test | 148 } // namespace test |
137 | 149 |
138 } // namespace ash | 150 } // namespace ash |
139 | 151 |
140 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 152 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
OLD | NEW |