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