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

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

Issue 210903003: Implemented system tray UI for new account management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge conflicts resolved. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/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_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
6 #define ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 6 #define ASH_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 24 matching lines...) Expand all
35 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; 35 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment;
36 36
37 extern const int kTrayMenuBottomRowPadding; 37 extern const int kTrayMenuBottomRowPadding;
38 extern const int kTrayMenuBottomRowPaddingBetweenItems; 38 extern const int kTrayMenuBottomRowPaddingBetweenItems;
39 39
40 extern const int kTrayPopupAutoCloseDelayInSeconds; 40 extern const int kTrayPopupAutoCloseDelayInSeconds;
41 extern const int kTrayPopupAutoCloseDelayForTextInSeconds; 41 extern const int kTrayPopupAutoCloseDelayForTextInSeconds;
42 extern const int kTrayPopupPaddingHorizontal; 42 extern const int kTrayPopupPaddingHorizontal;
43 extern const int kTrayPopupPaddingBetweenItems; 43 extern const int kTrayPopupPaddingBetweenItems;
44 extern const int kTrayPopupTextSpacingVertical; 44 extern const int kTrayPopupTextSpacingVertical;
45 extern const int kTrayPopupUserCardVerticalPadding;
45 46
46 extern const int kTrayPopupItemHeight; 47 extern const int kTrayPopupItemHeight;
47 extern const int kTrayPopupDetailsIconWidth; 48 extern const int kTrayPopupDetailsIconWidth;
48 extern const int kTrayPopupDetailsLabelExtraLeftMargin; 49 extern const int kTrayPopupDetailsLabelExtraLeftMargin;
49 extern const int kTrayPopupScrollSeparatorHeight; 50 extern const int kTrayPopupScrollSeparatorHeight;
50 extern const int kTrayRoundedBorderRadius; 51 extern const int kTrayRoundedBorderRadius;
51 extern const int kTrayBarButtonWidth; 52 extern const int kTrayBarButtonWidth;
52 53
53 extern const SkColor kBackgroundColor; 54 extern const SkColor kBackgroundColor;
54 extern const SkColor kHoverBackgroundColor; 55 extern const SkColor kHoverBackgroundColor;
55 extern const SkColor kPublicAccountBackgroundColor; 56 extern const SkColor kPublicAccountBackgroundColor;
56 extern const SkColor kPublicAccountUserCardTextColor; 57 extern const SkColor kPublicAccountUserCardTextColor;
57 extern const SkColor kPublicAccountUserCardNameColor; 58 extern const SkColor kPublicAccountUserCardNameColor;
58 59
59 extern const SkColor kHeaderBackgroundColor; 60 extern const SkColor kHeaderBackgroundColor;
60 61
61 extern const SkColor kBorderDarkColor; 62 extern const SkColor kBorderDarkColor;
62 extern const SkColor kBorderLightColor; 63 extern const SkColor kBorderLightColor;
63 extern const SkColor kButtonStrokeColor; 64 extern const SkColor kButtonStrokeColor;
64 65
65 extern const SkColor kHeaderTextColorNormal; 66 extern const SkColor kHeaderTextColorNormal;
66 extern const SkColor kHeaderTextColorHover; 67 extern const SkColor kHeaderTextColorHover;
67 68
68 extern const int kTrayPopupMinWidth; 69 extern const int kTrayPopupMinWidth;
69 extern const int kTrayPopupMaxWidth; 70 extern const int kTrayPopupMaxWidth;
70 extern const int kNotificationIconWidth; 71 extern const int kNotificationIconWidth;
71 extern const int kNotificationButtonWidth; 72 extern const int kNotificationButtonWidth;
72 extern const int kTrayNotificationContentsWidth; 73 extern const int kTrayNotificationContentsWidth;
73 74
75 extern const int kTrayAvatarCornerRadius;
76 extern const int kTrayAvatarSize;
77
74 // Returns kTraySpacing or kAlternateTraySpacing as applicable 78 // Returns kTraySpacing or kAlternateTraySpacing as applicable
75 // (Determined by ash::switches::UseAlternateShelfLayout). 79 // (Determined by ash::switches::UseAlternateShelfLayout).
76 int GetTraySpacing(); 80 int GetTraySpacing();
77 81
78 // Returns kShelfItemHeight or kAlternateShelfItemHeight as applicable 82 // Returns kShelfItemHeight or kAlternateShelfItemHeight as applicable
79 // (Determined by ash::switches::UseAlternateShelfLayout). 83 // (Determined by ash::switches::UseAlternateShelfLayout).
80 int GetShelfItemHeight(); 84 int GetShelfItemHeight();
81 85
82 namespace test { 86 namespace test {
83 const int kSettingsTrayItemViewId = 10000; 87 const int kSettingsTrayItemViewId = 10000;
84 const int kAccessibilityTrayItemViewId = 10001; 88 const int kAccessibilityTrayItemViewId = 10001;
85 } // namespace test 89 } // namespace test
86 90
87 } // namespace ash 91 } // namespace ash
88 92
89 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 93 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698