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

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

Issue 2540103003: Update the layout of opt-in IME menu. (Closed)
Patch Set: Addressed comments. Created 4 years 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/system_tray.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 16 matching lines...) Expand all
27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; 27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment;
28 28
29 ASH_EXPORT extern const int kTrayItemSize; 29 ASH_EXPORT extern const int kTrayItemSize;
30 30
31 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; 31 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment;
32 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; 32 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment;
33 33
34 extern const int kTrayMenuBottomRowPadding; 34 extern const int kTrayMenuBottomRowPadding;
35 extern const int kTrayMenuBottomRowPaddingBetweenItems; 35 extern const int kTrayMenuBottomRowPaddingBetweenItems;
36 36
37 // The minimum width of the tray menu.
38 extern const int kTrayMenuMinimumWidth;
39 extern const int kTrayMenuMinimumWidthMd;
40
37 extern const int kTrayPopupAutoCloseDelayInSeconds; 41 extern const int kTrayPopupAutoCloseDelayInSeconds;
38 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; 42 extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
39 extern const int kTrayPopupPaddingHorizontal; 43 extern const int kTrayPopupPaddingHorizontal;
40 extern const int kTrayPopupPaddingBetweenItems; 44 extern const int kTrayPopupPaddingBetweenItems;
41 // Used for buttons that have borders. 45 // Used for buttons that have borders.
42 extern const int kTrayPopupButtonEndMargin; 46 extern const int kTrayPopupButtonEndMargin;
43 extern const int kTrayPopupUserCardVerticalPadding; 47 extern const int kTrayPopupUserCardVerticalPadding;
44 // The padding used on the left and right of labels. This applies to all labels 48 // The padding used on the left and right of labels. This applies to all labels
45 // in the system menu. 49 // in the system menu.
46 extern const int kTrayPopupLabelHorizontalPadding; 50 extern const int kTrayPopupLabelHorizontalPadding;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ASH_EXPORT int GetTrayConstant(TrayConstant constant); 201 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
198 202
199 namespace test { 203 namespace test {
200 const int kSettingsTrayItemViewId = 10000; 204 const int kSettingsTrayItemViewId = 10000;
201 const int kAccessibilityTrayItemViewId = 10001; 205 const int kAccessibilityTrayItemViewId = 10001;
202 } // namespace test 206 } // namespace test
203 207
204 } // namespace ash 208 } // namespace ash
205 209
206 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 210 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_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