OLD | NEW |
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 typedef unsigned int SkColor; | 8 typedef unsigned int SkColor; |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 | 11 |
12 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment; | 12 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment; |
13 extern const int kPaddingFromBottomOfScreenBottomAlignment; | 13 extern const int kPaddingFromBottomOfScreenBottomAlignment; |
14 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment; | 14 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment; |
15 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment; | 15 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment; |
16 extern const int kPaddingFromBottomOfScreenVerticalAlignment; | 16 extern const int kPaddingFromBottomOfScreenVerticalAlignment; |
17 | 17 |
18 extern const int kAlternateLayoutBubblePaddingHorizontalBottom; | 18 extern const int kBubblePaddingHorizontalBottom; |
19 extern const int kAlternateLayoutBubblePaddingHorizontalSide; | 19 extern const int kBubblePaddingHorizontalSide; |
20 extern const int kAlternateLayoutBubblePaddingVerticalBottom; | 20 extern const int kBubblePaddingVerticalBottom; |
21 extern const int kAlternateLayoutBubblePaddingVerticalSide; | 21 extern const int kBubblePaddingVerticalSide; |
22 | 22 |
23 extern const int kPaddingFromEdgeOfShelf; | 23 extern const int kPaddingFromEdgeOfShelf; |
24 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; | 24 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; |
25 | 25 |
26 extern const int kTrayImageItemHorizontalPaddingBottomAlignment; | 26 extern const int kTrayImageItemHorizontalPaddingBottomAlignment; |
27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; | 27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; |
28 extern const int kTrayImageItemVerticalPaddingVerticalAlignment; | 28 extern const int kTrayImageItemVerticalPaddingVerticalAlignment; |
29 | 29 |
30 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; | 30 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; |
31 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; | 31 extern const int kTrayLabelItemVerticalPaddingVerticalAlignment; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // (Determined by ash::switches::UseAlternateShelfLayout). | 71 // (Determined by ash::switches::UseAlternateShelfLayout). |
72 int GetTraySpacing(); | 72 int GetTraySpacing(); |
73 | 73 |
74 // Returns kShelfItemHeight or kAlternateShelfItemHeight as applicable | 74 // Returns kShelfItemHeight or kAlternateShelfItemHeight as applicable |
75 // (Determined by ash::switches::UseAlternateShelfLayout). | 75 // (Determined by ash::switches::UseAlternateShelfLayout). |
76 int GetShelfItemHeight(); | 76 int GetShelfItemHeight(); |
77 | 77 |
78 } // namespace ash | 78 } // namespace ash |
79 | 79 |
80 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 80 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
OLD | NEW |