| 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 18 matching lines...) Expand all Loading... |
| 29 // Size allocated for each button on the shelf. | 29 // Size allocated for each button on the shelf. |
| 30 ASH_EXPORT extern const int kShelfButtonSize; | 30 ASH_EXPORT extern const int kShelfButtonSize; |
| 31 | 31 |
| 32 // Animation duration for switching black shelf and dock background on and off. | 32 // Animation duration for switching black shelf and dock background on and off. |
| 33 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; | 33 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
| 34 | 34 |
| 35 // The base color of the shelf to which different alpha values are applied | 35 // The base color of the shelf to which different alpha values are applied |
| 36 // based on the desired shelf opacity level. | 36 // based on the desired shelf opacity level. |
| 37 ASH_EXPORT extern const SkColor kShelfBaseColor; | 37 ASH_EXPORT extern const SkColor kShelfBaseColor; |
| 38 | 38 |
| 39 // The foreground color of the icons used in the shelf (launcher, |
| 40 // notifications, etc). |
| 41 ASH_EXPORT extern const SkColor kShelfIconColor; |
| 42 |
| 39 // The direction of the focus cycling. | 43 // The direction of the focus cycling. |
| 40 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; | 44 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
| 41 | 45 |
| 42 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); | 46 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); |
| 43 | 47 |
| 44 } // namespace ash | 48 } // namespace ash |
| 45 | 49 |
| 46 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 50 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
| OLD | NEW |