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

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

Issue 2823133002: Clean up some ash constants. (Closed)
Patch Set: ditto Created 3 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
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('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;
11 11
12 namespace ash { 12 namespace ash {
13 13
14 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment; 14 extern const int kPaddingFromRightEdgeOfScreenBottomAlignment;
15 extern const int kPaddingFromBottomOfScreenBottomAlignment; 15 extern const int kPaddingFromBottomOfScreenBottomAlignment;
16 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment; 16 extern const int kPaddingFromOuterEdgeOfLauncherVerticalAlignment;
17 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment; 17 extern const int kPaddingFromInnerEdgeOfLauncherVerticalAlignment;
18 extern const int kPaddingFromBottomOfScreenVerticalAlignment; 18 extern const int kPaddingFromBottomOfScreenVerticalAlignment;
19 19
20 extern const int kBubblePaddingHorizontalBottom; 20 extern const int kBubblePaddingHorizontalBottom;
21 extern const int kBubblePaddingHorizontalSide; 21 extern const int kBubblePaddingHorizontalSide;
22 extern const int kBubblePaddingVerticalBottom; 22 extern const int kBubblePaddingVerticalBottom;
23 extern const int kBubblePaddingVerticalSide; 23 extern const int kBubblePaddingVerticalSide;
24 24
25 // The size delta between the default font and the font size found in tray
26 // items like labels and buttons.
27 extern const int kTrayTextFontSizeIncrease;
28
25 extern const int kTrayBubbleAnchorTopInsetBottomAnchor; 29 extern const int kTrayBubbleAnchorTopInsetBottomAnchor;
26 30
27 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment; 31 extern const int kTrayImageItemHorizontalPaddingVerticalAlignment;
28 32
29 ASH_EXPORT extern const int kTrayItemSize; 33 ASH_EXPORT extern const int kTrayItemSize;
30 34
31 // Extra padding used beside a single icon in the tray area of the shelf. 35 // Extra padding used beside a single icon in the tray area of the shelf.
32 extern const int kTrayImageItemPadding; 36 extern const int kTrayImageItemPadding;
33 37
34 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment; 38 extern const int kTrayLabelItemHorizontalPaddingBottomAlignment;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 extern const int kTrayPopupSystemInfoRowHeight; 146 extern const int kTrayPopupSystemInfoRowHeight;
143 147
144 namespace test { 148 namespace test {
145 const int kSettingsTrayItemViewId = 10000; 149 const int kSettingsTrayItemViewId = 10000;
146 const int kAccessibilityTrayItemViewId = 10001; 150 const int kAccessibilityTrayItemViewId = 10001;
147 } // namespace test 151 } // namespace test
148 152
149 } // namespace ash 153 } // namespace ash
150 154
151 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_ 155 #endif // ASH_SYSTEM_TRAY_TRAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('k') | ash/system/tray/tray_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698