OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SHELF_SHELF_CONSTANTS_H_ | 5 #ifndef ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
6 #define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 6 #define ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 // Size of the shelf when auto-hidden. | 36 // Size of the shelf when auto-hidden. |
37 ASH_EXPORT extern const int kShelfAutoHideSize; | 37 ASH_EXPORT extern const int kShelfAutoHideSize; |
38 | 38 |
39 // Inset between the inner edge of the shelf (towards centre of screen), and | 39 // Inset between the inner edge of the shelf (towards centre of screen), and |
40 // the shelf items, notifications, status area etc. | 40 // the shelf items, notifications, status area etc. |
41 extern const int kShelfItemInset; | 41 extern const int kShelfItemInset; |
42 | 42 |
43 // Animation duration for switching black shelf and dock background on and off. | 43 // Animation duration for switching black shelf and dock background on and off. |
44 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; | 44 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
45 | 45 |
46 // The base color of the shelf to which different alpha values are applied | 46 // The default base color of the shelf to which different alpha values are |
47 // based on the desired shelf opacity level. | 47 // applied based on the desired shelf opacity level. |
48 ASH_EXPORT extern const SkColor kShelfBaseColor; | 48 ASH_EXPORT extern const SkColor kShelfDefaultBaseColor; |
49 | 49 |
50 // Highlight color used for shelf button activated states. | 50 // Highlight color used for shelf button activated states. |
51 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state | 51 // TODO(bruthig|mohsen): Use of this color is temporary. Draw the active state |
52 // using the material design ripple animation. | 52 // using the material design ripple animation. |
53 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor; | 53 ASH_EXPORT extern const SkColor kShelfButtonActivatedHighlightColor; |
54 | 54 |
55 // Ink drop color for shelf items. | 55 // Ink drop color for shelf items. |
56 extern const SkColor kShelfInkDropBaseColor; | 56 extern const SkColor kShelfInkDropBaseColor; |
57 | 57 |
58 // Opacity of the ink drop ripple for shelf items when the ripple is visible. | 58 // Opacity of the ink drop ripple for shelf items when the ripple is visible. |
(...skipping 18 matching lines...) Expand all Loading... |
77 extern const int kAppListButtonRadius; | 77 extern const int kAppListButtonRadius; |
78 | 78 |
79 // The direction of the focus cycling. | 79 // The direction of the focus cycling. |
80 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; | 80 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
81 | 81 |
82 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); | 82 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); |
83 | 83 |
84 } // namespace ash | 84 } // namespace ash |
85 | 85 |
86 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 86 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
OLD | NEW |