Chromium Code Reviews| 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 | 10 |
| 10 namespace ash { | 11 namespace ash { |
| 11 | 12 |
| 12 // Max alpha of the shelf background. | 13 // Max alpha of the shelf background. |
| 13 ASH_EXPORT extern const int kShelfBackgroundAlpha; | 14 ASH_EXPORT extern const int kShelfBackgroundAlpha; |
| 14 | 15 |
| 15 // Invalid image resource id used for ShelfItemDetails. | 16 // Invalid image resource id used for ShelfItemDetails. |
| 16 extern const int kInvalidImageResourceID; | 17 extern const int kInvalidImageResourceID; |
| 17 | 18 |
| 18 const int kInvalidShelfID = 0; | 19 const int kInvalidShelfID = 0; |
| 19 | 20 |
| 20 // Size of the shelf when visible (height when the shelf is horizontal). | 21 // Size of the shelf when visible (height when the shelf is horizontal). |
| 21 ASH_EXPORT extern const int kShelfSize; | 22 ASH_EXPORT extern const int kShelfSize; |
| 22 | 23 |
| 23 // Size of the space between buttons on the shelf. | 24 // Size of the space between buttons on the shelf. |
| 24 ASH_EXPORT extern const int kShelfButtonSpacing; | 25 ASH_EXPORT extern const int kShelfButtonSpacing; |
| 25 | 26 |
| 26 // Size allocated for each button on the shelf. | 27 // Size allocated for each button on the shelf. |
| 27 ASH_EXPORT extern const int kShelfButtonSize; | 28 ASH_EXPORT extern const int kShelfButtonSize; |
| 28 | 29 |
| 29 // Animation duration for switching black shelf and dock background on and off. | 30 // Animation duration for switching black shelf and dock background on and off. |
| 30 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; | 31 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
| 31 | 32 |
| 33 // The color of the icons used in the shelf (launcher, notifications, etc). | |
|
James Cook
2016/06/07 15:51:52
nit: foreground color? background color?
tdanderson
2016/06/08 17:29:27
Done.
| |
| 34 ASH_EXPORT extern const SkColor kShelfIconColor; | |
| 35 | |
| 32 // The direction of the focus cycling. | 36 // The direction of the focus cycling. |
| 33 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; | 37 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
| 34 | 38 |
| 35 } // namespace ash | 39 } // namespace ash |
| 36 | 40 |
| 37 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 41 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
| OLD | NEW |