Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: ash/common/system/tray/tray_constants.h

Issue 2706403013: Remove non-MD code from StatusAreaWidgetDelegate (Closed)
Patch Set: Rebased Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // The inset applied to clickable surfaces in the system menu that do not have 131 // The inset applied to clickable surfaces in the system menu that do not have
132 // the ink drop filling the entire bounds. 132 // the ink drop filling the entire bounds.
133 extern const int kTrayPopupInkDropInset; 133 extern const int kTrayPopupInkDropInset;
134 134
135 // The radius used to draw the corners of the rounded rect style ink drops. 135 // The radius used to draw the corners of the rounded rect style ink drops.
136 extern const int kTrayPopupInkDropCornerRadius; 136 extern const int kTrayPopupInkDropCornerRadius;
137 137
138 // The height of the system info row. 138 // The height of the system info row.
139 extern const int kTrayPopupSystemInfoRowHeight; 139 extern const int kTrayPopupSystemInfoRowHeight;
140 140
141 // Padding between the edge of shelf and the item in status tray area.
142 extern const int kTrayPaddingFromEdgeOfShelf;
143
141 enum TrayConstant { 144 enum TrayConstant {
142 // A legacy height value used in non-MD calculations for applying additional
143 // borders on tray items.
144 TRAY_ITEM_HEIGHT_LEGACY,
145
146 // Padding between the edge of shelf and the item in status tray area.
147 TRAY_PADDING_FROM_EDGE_OF_SHELF,
148
149 // The minimum height of the rows in the system tray menu. 145 // The minimum height of the rows in the system tray menu.
150 TRAY_POPUP_ITEM_MIN_HEIGHT, 146 TRAY_POPUP_ITEM_MIN_HEIGHT,
151 147
152 // The maximum height of the rows in the system tray menu. 148 // The maximum height of the rows in the system tray menu.
153 TRAY_POPUP_ITEM_MAX_HEIGHT, 149 TRAY_POPUP_ITEM_MAX_HEIGHT,
154 150
155 // The width used for the main image of the row. This applies to all rows 151 // The width used for the main image of the row. This applies to all rows
156 // in the system menu that have a main image (e.g. default and detailed). 152 // in the system menu that have a main image (e.g. default and detailed).
157 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH, 153 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH,
158 154
(...skipping 22 matching lines...) Expand all
181 ASH_EXPORT int GetTrayConstant(TrayConstant constant); 177 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
182 178
183 namespace test { 179 namespace test {
184 const int kSettingsTrayItemViewId = 10000; 180 const int kSettingsTrayItemViewId = 10000;
185 const int kAccessibilityTrayItemViewId = 10001; 181 const int kAccessibilityTrayItemViewId = 10001;
186 } // namespace test 182 } // namespace test
187 183
188 } // namespace ash 184 } // namespace ash
189 185
190 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 186 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/status_area_widget_delegate.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698