| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 // The right inset for all tray system menu rows. | 168 // The right inset for all tray system menu rows. |
| 169 TRAY_POPUP_ITEM_RIGHT_INSET, | 169 TRAY_POPUP_ITEM_RIGHT_INSET, |
| 170 | 170 |
| 171 // The minimum default width for the left container of the system menu rows. | 171 // The minimum default width for the left container of the system menu rows. |
| 172 TRAY_POPUP_ITEM_MIN_START_WIDTH, | 172 TRAY_POPUP_ITEM_MIN_START_WIDTH, |
| 173 | 173 |
| 174 // The minimum default width for the right container of the system menu rows. | 174 // The minimum default width for the right container of the system menu rows. |
| 175 TRAY_POPUP_ITEM_MIN_END_WIDTH, | 175 TRAY_POPUP_ITEM_MIN_END_WIDTH, |
| 176 | 176 |
| 177 // Duration to delay transitions to the default view. |
| 178 TRAY_POPUP_TRANSITION_TO_DEFAULT_DELAY, |
| 179 |
| 180 // Duration to delay transitions to the detailed view. |
| 181 TRAY_POPUP_TRANSITION_TO_DETAILED_DELAY, |
| 182 |
| 177 // The width and height of the virtual keyboard button in the status tray | 183 // The width and height of the virtual keyboard button in the status tray |
| 178 // area. For non-MD, adjustments are made to the button dimensions based on | 184 // area. For non-MD, adjustments are made to the button dimensions based on |
| 179 // the shelf orientation, so this constant does not specify the true | 185 // the shelf orientation, so this constant does not specify the true |
| 180 // user-visible button bounds. | 186 // user-visible button bounds. |
| 181 VIRTUAL_KEYBOARD_BUTTON_SIZE, | 187 VIRTUAL_KEYBOARD_BUTTON_SIZE, |
| 182 | 188 |
| 183 // The icon size of opt-in IME menu tray. | 189 // The icon size of opt-in IME menu tray. |
| 184 TRAY_IME_MENU_ICON, | 190 TRAY_IME_MENU_ICON, |
| 185 | 191 |
| 186 // Extra padding used beside a single icon in the tray area of the shelf. | 192 // Extra padding used beside a single icon in the tray area of the shelf. |
| 187 TRAY_IMAGE_ITEM_PADDING, | 193 TRAY_IMAGE_ITEM_PADDING, |
| 188 }; | 194 }; |
| 189 | 195 |
| 190 int GetTrayConstant(TrayConstant constant); | 196 ASH_EXPORT int GetTrayConstant(TrayConstant constant); |
| 191 | 197 |
| 192 namespace test { | 198 namespace test { |
| 193 const int kSettingsTrayItemViewId = 10000; | 199 const int kSettingsTrayItemViewId = 10000; |
| 194 const int kAccessibilityTrayItemViewId = 10001; | 200 const int kAccessibilityTrayItemViewId = 10001; |
| 195 } // namespace test | 201 } // namespace test |
| 196 | 202 |
| 197 } // namespace ash | 203 } // namespace ash |
| 198 | 204 |
| 199 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 205 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |