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

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

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits Created 4 years, 4 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 extern const SkColor kHeaderTextColorHover; 69 extern const SkColor kHeaderTextColorHover;
70 70
71 extern const int kTrayPopupMinWidth; 71 extern const int kTrayPopupMinWidth;
72 extern const int kTrayPopupMaxWidth; 72 extern const int kTrayPopupMaxWidth;
73 extern const int kNotificationIconWidth; 73 extern const int kNotificationIconWidth;
74 extern const int kNotificationButtonWidth; 74 extern const int kNotificationButtonWidth;
75 extern const int kTrayNotificationContentsWidth; 75 extern const int kTrayNotificationContentsWidth;
76 76
77 extern const int kMessageCenterBubblePadding; 77 extern const int kMessageCenterBubblePadding;
78 78
79 // Extra padding used to adjust hitting region around tray items.
80 extern const int kHitRegionPadding;
81
82 // Color and width of a line used to separate tray items in the shelf.
83 extern const SkColor kSeparatorColor;
84 extern const int kSeparatorWidth;
85
79 // The size and foreground color of the icons appearing in the material design 86 // The size and foreground color of the icons appearing in the material design
80 // system tray. 87 // system tray.
81 extern const int kTrayIconSize; 88 extern const int kTrayIconSize;
82 extern const SkColor kTrayIconColor; 89 extern const SkColor kTrayIconColor;
83 90
84 // The size and foreground color of the icons appearing in the material design 91 // The size and foreground color of the icons appearing in the material design
85 // system menu. 92 // system menu.
86 extern const int kMenuIconSize; 93 extern const int kMenuIconSize;
87 extern const SkColor kMenuIconColor; 94 extern const SkColor kMenuIconColor;
88 95
(...skipping 21 matching lines...) Expand all
110 int GetTrayConstant(TrayConstant constant); 117 int GetTrayConstant(TrayConstant constant);
111 118
112 namespace test { 119 namespace test {
113 const int kSettingsTrayItemViewId = 10000; 120 const int kSettingsTrayItemViewId = 10000;
114 const int kAccessibilityTrayItemViewId = 10001; 121 const int kAccessibilityTrayItemViewId = 10001;
115 } // namespace test 122 } // namespace test
116 123
117 } // namespace ash 124 } // namespace ash
118 125
119 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 126 #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