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

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: new approach 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 extern const SkColor kHeaderTextColorHover; 68 extern const SkColor kHeaderTextColorHover;
69 69
70 extern const int kTrayPopupMinWidth; 70 extern const int kTrayPopupMinWidth;
71 extern const int kTrayPopupMaxWidth; 71 extern const int kTrayPopupMaxWidth;
72 extern const int kNotificationIconWidth; 72 extern const int kNotificationIconWidth;
73 extern const int kNotificationButtonWidth; 73 extern const int kNotificationButtonWidth;
74 extern const int kTrayNotificationContentsWidth; 74 extern const int kTrayNotificationContentsWidth;
75 75
76 extern const int kMessageCenterBubblePadding; 76 extern const int kMessageCenterBubblePadding;
77 77
78 extern const int kHitRegionPadding;
79
80 // Color and width of a line used to separate tray items in the shelf.
81 extern const SkColor kSeparatorColor;
82 extern const int kSeparatorWidth;
83
78 // The size and foreground color of the icons appearing in the material design 84 // The size and foreground color of the icons appearing in the material design
79 // system tray. 85 // system tray.
80 extern const int kTrayIconSize; 86 extern const int kTrayIconSize;
81 extern const SkColor kTrayIconColor; 87 extern const SkColor kTrayIconColor;
82 88
83 // The size and foreground color of the icons appearing in the material design 89 // The size and foreground color of the icons appearing in the material design
84 // system menu. 90 // system menu.
85 extern const int kMenuIconSize; 91 extern const int kMenuIconSize;
86 extern const SkColor kMenuIconColor; 92 extern const SkColor kMenuIconColor;
87 93
(...skipping 18 matching lines...) Expand all
106 int GetTrayConstant(TrayConstant constant); 112 int GetTrayConstant(TrayConstant constant);
107 113
108 namespace test { 114 namespace test {
109 const int kSettingsTrayItemViewId = 10000; 115 const int kSettingsTrayItemViewId = 10000;
110 const int kAccessibilityTrayItemViewId = 10001; 116 const int kAccessibilityTrayItemViewId = 10001;
111 } // namespace test 117 } // namespace test
112 118
113 } // namespace ash 119 } // namespace ash
114 120
115 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 121 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698