| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // Padding between the edge of shelf and the item in status tray area. | 133 // Padding between the edge of shelf and the item in status tray area. |
| 134 TRAY_PADDING_FROM_EDGE_OF_SHELF, | 134 TRAY_PADDING_FROM_EDGE_OF_SHELF, |
| 135 | 135 |
| 136 // The height of the rows in the system tray menu. | 136 // The height of the rows in the system tray menu. |
| 137 TRAY_POPUP_ITEM_HEIGHT, | 137 TRAY_POPUP_ITEM_HEIGHT, |
| 138 | 138 |
| 139 // The width used for the main image of the row. This applies to all rows | 139 // The width used for the main image of the row. This applies to all rows |
| 140 // in the system menu that have a main image (e.g. default and detailed). | 140 // in the system menu that have a main image (e.g. default and detailed). |
| 141 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH, | 141 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH, |
| 142 | 142 |
| 143 // The width used for the 'more' arrow images. In general this applies to all | 143 // The width used for the images used in the 'more' region of default rows. |
| 144 // rows in the system menu that have a 'more' image however most, if not all, | 144 TRAY_POPUP_ITEM_MORE_IMAGE_SIZE, |
| 145 // are default rows. | 145 |
| 146 TRAY_POPUP_ITEM_MORE_IMAGE_CONTAINER_WIDTH, | 146 // The horizontal inset in the 'more' region of default rows. |
| 147 TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET, |
| 147 | 148 |
| 148 // The left inset for all tray system menu rows. | 149 // The left inset for all tray system menu rows. |
| 149 TRAY_POPUP_ITEM_LEFT_INSET, | 150 TRAY_POPUP_ITEM_LEFT_INSET, |
| 150 | 151 |
| 151 // The right inset for all tray system menu rows. | 152 // The right inset for all tray system menu rows. |
| 152 TRAY_POPUP_ITEM_RIGHT_INSET, | 153 TRAY_POPUP_ITEM_RIGHT_INSET, |
| 153 | 154 |
| 154 // The minimum default width for the left container of the system menu rows. | 155 // The minimum default width for the left container of the system menu rows. |
| 155 TRAY_POPUP_ITEM_MIN_START_WIDTH, | 156 TRAY_POPUP_ITEM_MIN_START_WIDTH, |
| 156 | 157 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 173 int GetTrayConstant(TrayConstant constant); | 174 int GetTrayConstant(TrayConstant constant); |
| 174 | 175 |
| 175 namespace test { | 176 namespace test { |
| 176 const int kSettingsTrayItemViewId = 10000; | 177 const int kSettingsTrayItemViewId = 10000; |
| 177 const int kAccessibilityTrayItemViewId = 10001; | 178 const int kAccessibilityTrayItemViewId = 10001; |
| 178 } // namespace test | 179 } // namespace test |
| 179 | 180 |
| 180 } // namespace ash | 181 } // namespace ash |
| 181 | 182 |
| 182 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 183 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |