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

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

Issue 2717973004: Improve painting of cros tray separators. (Closed)
Patch Set: restore include 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 extern const int kTrayPopupMinWidth; 82 extern const int kTrayPopupMinWidth;
83 extern const int kTrayPopupMaxWidth; 83 extern const int kTrayPopupMaxWidth;
84 extern const int kNotificationIconWidth; 84 extern const int kNotificationIconWidth;
85 extern const int kNotificationButtonWidth; 85 extern const int kNotificationButtonWidth;
86 extern const int kTrayNotificationContentsWidth; 86 extern const int kTrayNotificationContentsWidth;
87 87
88 // Extra padding used to adjust hitting region around tray items. 88 // Extra padding used to adjust hitting region around tray items.
89 extern const int kHitRegionPadding; 89 extern const int kHitRegionPadding;
90 90
91 // Color and width of a line used to separate tray items in the shelf. 91 // Width of a line used to separate tray items in the shelf.
92 extern const SkColor kTraySeparatorColor;
93 ASH_EXPORT extern const int kSeparatorWidth; 92 ASH_EXPORT extern const int kSeparatorWidth;
94 93
95 // The color of the separators used in the system menu. 94 // The color of the separators used in the system menu.
96 extern const SkColor kMenuSeparatorColor; 95 extern const SkColor kMenuSeparatorColor;
97 96
98 // The size and foreground color of the icons appearing in the material design 97 // The size and foreground color of the icons appearing in the material design
99 // system tray. 98 // system tray.
100 extern const int kTrayIconSize; 99 extern const int kTrayIconSize;
101 extern const SkColor kTrayIconColor; 100 extern const SkColor kTrayIconColor;
102 101
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ASH_EXPORT int GetTrayConstant(TrayConstant constant); 180 ASH_EXPORT int GetTrayConstant(TrayConstant constant);
182 181
183 namespace test { 182 namespace test {
184 const int kSettingsTrayItemViewId = 10000; 183 const int kSettingsTrayItemViewId = 10000;
185 const int kAccessibilityTrayItemViewId = 10001; 184 const int kAccessibilityTrayItemViewId = 10001;
186 } // namespace test 185 } // namespace test
187 186
188 } // namespace ash 187 } // namespace ash
189 188
190 #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/tray_background_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