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

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

Issue 2482043002: [ash-md] Updated layout of Brightness and Audio system menu rows to the material design spec. (Closed)
Patch Set: Fixed the volume slider to transition to the detailed view on <return> keypress. Created 4 years, 1 month 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
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Padding between the edge of shelf and the item in status tray area. 139 // Padding between the edge of shelf and the item in status tray area.
140 TRAY_PADDING_FROM_EDGE_OF_SHELF, 140 TRAY_PADDING_FROM_EDGE_OF_SHELF,
141 141
142 // The height of the rows in the system tray menu. 142 // The height of the rows in the system tray menu.
143 TRAY_POPUP_ITEM_HEIGHT, 143 TRAY_POPUP_ITEM_HEIGHT,
144 144
145 // The width used for the main image of the row. This applies to all rows 145 // The width used for the main image of the row. This applies to all rows
146 // in the system menu that have a main image (e.g. default and detailed). 146 // in the system menu that have a main image (e.g. default and detailed).
147 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH, 147 TRAY_POPUP_ITEM_MAIN_IMAGE_CONTAINER_WIDTH,
148 148
149 // The width used for the 'more' arrow images. In general this applies to all 149 // The width used for the images used in the 'more' region of default rows.
150 // rows in the system menu that have a 'more' image however most, if not all, 150 TRAY_POPUP_ITEM_MORE_IMAGE_SIZE,
151 // are default rows. 151
152 TRAY_POPUP_ITEM_MORE_IMAGE_CONTAINER_WIDTH, 152 // The horizontal inset in the 'more' region of default rows.
153 TRAY_POPUP_ITEM_MORE_REGION_HORIZONTAL_INSET,
153 154
154 // The left inset for all tray system menu rows. 155 // The left inset for all tray system menu rows.
155 TRAY_POPUP_ITEM_LEFT_INSET, 156 TRAY_POPUP_ITEM_LEFT_INSET,
156 157
157 // The right inset for all tray system menu rows. 158 // The right inset for all tray system menu rows.
158 TRAY_POPUP_ITEM_RIGHT_INSET, 159 TRAY_POPUP_ITEM_RIGHT_INSET,
159 160
160 // The minimum default width for the left container of the system menu rows. 161 // The minimum default width for the left container of the system menu rows.
161 TRAY_POPUP_ITEM_MIN_START_WIDTH, 162 TRAY_POPUP_ITEM_MIN_START_WIDTH,
162 163
(...skipping 16 matching lines...) Expand all
179 int GetTrayConstant(TrayConstant constant); 180 int GetTrayConstant(TrayConstant constant);
180 181
181 namespace test { 182 namespace test {
182 const int kSettingsTrayItemViewId = 10000; 183 const int kSettingsTrayItemViewId = 10000;
183 const int kAccessibilityTrayItemViewId = 10001; 184 const int kAccessibilityTrayItemViewId = 10001;
184 } // namespace test 185 } // namespace test
185 186
186 } // namespace ash 187 } // namespace ash
187 188
188 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 189 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698