| 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 |
| 117 // The width and height of the virtual keyboard button in the status tray | 129 // The width and height of the virtual keyboard button in the status tray |
| 118 // area. For non-MD, adjustments are made to the button dimensions based on | 130 // area. For non-MD, adjustments are made to the button dimensions based on |
| 119 // the shelf orientation, so this constant does not specify the true | 131 // the shelf orientation, so this constant does not specify the true |
| 120 // user-visible button bounds. | 132 // user-visible button bounds. |
| 121 VIRTUAL_KEYBOARD_BUTTON_SIZE, | 133 VIRTUAL_KEYBOARD_BUTTON_SIZE, |
| 122 | 134 |
| 123 // The icon size of opt-in IME menu tray. | 135 // The icon size of opt-in IME menu tray. |
| 124 TRAY_IME_MENU_ICON, | 136 TRAY_IME_MENU_ICON, |
| 125 | 137 |
| 126 // Extra padding used beside a single icon in the tray area of the shelf. | 138 // Extra padding used beside a single icon in the tray area of the shelf. |
| 127 TRAY_IMAGE_ITEM_PADDING, | 139 TRAY_IMAGE_ITEM_PADDING, |
| 128 }; | 140 }; |
| 129 | 141 |
| 130 int GetTrayConstant(TrayConstant constant); | 142 int GetTrayConstant(TrayConstant constant); |
| 131 | 143 |
| 132 namespace test { | 144 namespace test { |
| 133 const int kSettingsTrayItemViewId = 10000; | 145 const int kSettingsTrayItemViewId = 10000; |
| 134 const int kAccessibilityTrayItemViewId = 10001; | 146 const int kAccessibilityTrayItemViewId = 10001; |
| 135 } // namespace test | 147 } // namespace test |
| 136 | 148 |
| 137 } // namespace ash | 149 } // namespace ash |
| 138 | 150 |
| 139 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 151 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |