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

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

Issue 2485963003: Minor adjustment to edge padding of tray. (Closed)
Patch Set: 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/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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // The color and height of the horizontal separator used in the material design 89 // The color and height of the horizontal separator used in the material design
90 // system menu (i.e., the vertical line used to separate elements horizontally). 90 // system menu (i.e., the vertical line used to separate elements horizontally).
91 extern const SkColor kHorizontalSeparatorColor; 91 extern const SkColor kHorizontalSeparatorColor;
92 extern const int kHorizontalSeparatorHeight; 92 extern const int kHorizontalSeparatorHeight;
93 93
94 // The size and foreground color of the icons appearing in the material design 94 // The size and foreground color of the icons appearing in the material design
95 // system tray. 95 // system tray.
96 extern const int kTrayIconSize; 96 extern const int kTrayIconSize;
97 extern const SkColor kTrayIconColor; 97 extern const SkColor kTrayIconColor;
98 98
99 // The total visual padding at the start and end of the icon/label section
100 // of the tray.
101 extern const int kTrayEdgePadding;
102
99 // The size and foreground color of the icons appearing in the material design 103 // The size and foreground color of the icons appearing in the material design
100 // system menu. 104 // system menu.
101 extern const int kMenuIconSize; 105 extern const int kMenuIconSize;
102 extern const SkColor kMenuIconColor; 106 extern const SkColor kMenuIconColor;
103 extern const SkColor kMenuIconColorDisabled; 107 extern const SkColor kMenuIconColorDisabled;
104 // The size of buttons in the system menu. 108 // The size of buttons in the system menu.
105 extern const int kMenuButtonSize; 109 extern const int kMenuButtonSize;
106 // The vertical padding for the system menu separator. 110 // The vertical padding for the system menu separator.
107 extern const int kMenuSeparatorVerticalPadding; 111 extern const int kMenuSeparatorVerticalPadding;
108 // The horizontal padding for the system menu separator. 112 // The horizontal padding for the system menu separator.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 int GetTrayConstant(TrayConstant constant); 177 int GetTrayConstant(TrayConstant constant);
174 178
175 namespace test { 179 namespace test {
176 const int kSettingsTrayItemViewId = 10000; 180 const int kSettingsTrayItemViewId = 10000;
177 const int kAccessibilityTrayItemViewId = 10001; 181 const int kAccessibilityTrayItemViewId = 10001;
178 } // namespace test 182 } // namespace test
179 183
180 } // namespace ash 184 } // namespace ash
181 185
182 #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/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