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

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

Issue 2712733003: Remove non-MD code from VirtualKeyboardTray (Closed)
Patch Set: Addressed review comments Created 3 years, 10 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // The left inset for all tray system menu rows. 165 // The left inset for all tray system menu rows.
166 TRAY_POPUP_ITEM_LEFT_INSET, 166 TRAY_POPUP_ITEM_LEFT_INSET,
167 167
168 // The minimum default width for the left container of the system menu rows. 168 // The minimum default width for the left container of the system menu rows.
169 TRAY_POPUP_ITEM_MIN_START_WIDTH, 169 TRAY_POPUP_ITEM_MIN_START_WIDTH,
170 170
171 // The minimum default width for the right container of the system menu rows. 171 // The minimum default width for the right container of the system menu rows.
172 TRAY_POPUP_ITEM_MIN_END_WIDTH, 172 TRAY_POPUP_ITEM_MIN_END_WIDTH,
173 173
174 // The width and height of the virtual keyboard button in the status tray
175 // area. For non-MD, adjustments are made to the button dimensions based on
176 // the shelf orientation, so this constant does not specify the true
177 // user-visible button bounds.
178 VIRTUAL_KEYBOARD_BUTTON_SIZE,
179
180 // The icon size of opt-in IME menu tray. 174 // The icon size of opt-in IME menu tray.
181 TRAY_IME_MENU_ICON, 175 TRAY_IME_MENU_ICON,
182 176
183 // Extra padding used beside a single icon in the tray area of the shelf. 177 // Extra padding used beside a single icon in the tray area of the shelf.
184 TRAY_IMAGE_ITEM_PADDING, 178 TRAY_IMAGE_ITEM_PADDING,
185 }; 179 };
186 180
187 ASH_EXPORT int GetTrayConstant(TrayConstant constant); 181 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
188 182
189 namespace test { 183 namespace test {
190 const int kSettingsTrayItemViewId = 10000; 184 const int kSettingsTrayItemViewId = 10000;
191 const int kAccessibilityTrayItemViewId = 10001; 185 const int kAccessibilityTrayItemViewId = 10001;
192 } // namespace test 186 } // namespace test
193 187
194 } // namespace ash 188 } // namespace ash
195 189
196 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 190 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | ash/common/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698