| 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 kBubblePaddingHorizontalBottom; | 18 extern const int kAlternateLayoutBubblePaddingHorizontalBottom; |
| 19 extern const int kBubblePaddingHorizontalSide; | 19 extern const int kAlternateLayoutBubblePaddingHorizontalSide; |
| 20 extern const int kBubblePaddingVerticalBottom; | 20 extern const int kAlternateLayoutBubblePaddingVerticalBottom; |
| 21 extern const int kBubblePaddingVerticalSide; | 21 extern const int kAlternateLayoutBubblePaddingVerticalSide; |
| 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 28 matching lines...) Expand all Loading... |
| 60 | 60 |
| 61 extern const SkColor kHeaderTextColorNormal; | 61 extern const SkColor kHeaderTextColorNormal; |
| 62 extern const SkColor kHeaderTextColorHover; | 62 extern const SkColor kHeaderTextColorHover; |
| 63 | 63 |
| 64 extern const int kTrayPopupMinWidth; | 64 extern const int kTrayPopupMinWidth; |
| 65 extern const int kTrayPopupMaxWidth; | 65 extern const int kTrayPopupMaxWidth; |
| 66 extern const int kNotificationIconWidth; | 66 extern const int kNotificationIconWidth; |
| 67 extern const int kNotificationButtonWidth; | 67 extern const int kNotificationButtonWidth; |
| 68 extern const int kTrayNotificationContentsWidth; | 68 extern const int kTrayNotificationContentsWidth; |
| 69 | 69 |
| 70 extern const int kTraySpacing; | 70 // Returns kTraySpacing or kAlternateTraySpacing as applicable |
| 71 extern const int kShelfItemHeight; | 71 // (Determined by ash::switches::UseAlternateShelfLayout). |
| 72 int GetTraySpacing(); |
| 73 |
| 74 // Returns kShelfItemHeight or kAlternateShelfItemHeight as applicable |
| 75 // (Determined by ash::switches::UseAlternateShelfLayout). |
| 76 int GetShelfItemHeight(); |
| 72 | 77 |
| 73 } // namespace ash | 78 } // namespace ash |
| 74 | 79 |
| 75 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ | 80 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ |
| OLD | NEW |