| 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 12 matching lines...) Expand all Loading... |
| 23 // the resize handle at the edge of the window can be hit. | 23 // the resize handle at the edge of the window can be hit. |
| 24 extern const int kWorkspaceAreaVisibleInset; | 24 extern const int kWorkspaceAreaVisibleInset; |
| 25 | 25 |
| 26 // When autohidden we extend the touch hit target onto the screen so that the | 26 // When autohidden we extend the touch hit target onto the screen so that the |
| 27 // user can drag the shelf out. | 27 // user can drag the shelf out. |
| 28 extern const int kWorkspaceAreaAutoHideInset; | 28 extern const int kWorkspaceAreaAutoHideInset; |
| 29 | 29 |
| 30 // Size of the shelf when auto-hidden. | 30 // Size of the shelf when auto-hidden. |
| 31 ASH_EXPORT extern const int kShelfAutoHideSize; | 31 ASH_EXPORT extern const int kShelfAutoHideSize; |
| 32 | 32 |
| 33 // Inset between the inner edge of the shelf (towards centre of screen), and | |
| 34 // the shelf items, notifications, status area etc. | |
| 35 extern const int kShelfItemInset; | |
| 36 | |
| 37 // Animation duration for switching black shelf and dock background on and off. | 33 // Animation duration for switching black shelf and dock background on and off. |
| 38 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; | 34 ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; |
| 39 | 35 |
| 40 // The default base color of the shelf to which different alpha values are | 36 // The default base color of the shelf to which different alpha values are |
| 41 // applied based on the desired shelf opacity level. | 37 // applied based on the desired shelf opacity level. |
| 42 ASH_EXPORT extern const SkColor kShelfDefaultBaseColor; | 38 ASH_EXPORT extern const SkColor kShelfDefaultBaseColor; |
| 43 | 39 |
| 44 // Size allocated for each app button on the shelf. | 40 // Size allocated for each app button on the shelf. |
| 45 ASH_EXPORT extern const int kShelfButtonSize; | 41 ASH_EXPORT extern const int kShelfButtonSize; |
| 46 | 42 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 77 extern const int kAppListButtonRadius; | 73 extern const int kAppListButtonRadius; |
| 78 | 74 |
| 79 // The direction of the focus cycling. | 75 // The direction of the focus cycling. |
| 80 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; | 76 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
| 81 | 77 |
| 82 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); | 78 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); |
| 83 | 79 |
| 84 } // namespace ash | 80 } // namespace ash |
| 85 | 81 |
| 86 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 82 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
| OLD | NEW |