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 11 matching lines...) Expand all Loading... |
22 SHELF_BUTTON_SPACING, | 22 SHELF_BUTTON_SPACING, |
23 | 23 |
24 // Size allocated for each app button on the shelf. | 24 // Size allocated for each app button on the shelf. |
25 SHELF_BUTTON_SIZE, | 25 SHELF_BUTTON_SIZE, |
26 | 26 |
27 // Insets allocated for shelf when it is auto hidden. | 27 // Insets allocated for shelf when it is auto hidden. |
28 SHELF_INSETS_FOR_AUTO_HIDE | 28 SHELF_INSETS_FOR_AUTO_HIDE |
29 }; | 29 }; |
30 | 30 |
31 // Invalid image resource id used for ShelfItemDetails. | 31 // Invalid image resource id used for ShelfItemDetails. |
32 extern const int kInvalidImageResourceID; | 32 const int kInvalidImageResourceID = -1; |
33 | 33 |
34 // We reserve a small area on the edge of the workspace area to ensure that | 34 // We reserve a small area on the edge of the workspace area to ensure that |
35 // the resize handle at the edge of the window can be hit. | 35 // the resize handle at the edge of the window can be hit. |
36 extern const int kWorkspaceAreaVisibleInset; | 36 extern const int kWorkspaceAreaVisibleInset; |
37 | 37 |
38 // When autohidden we extend the touch hit target onto the screen so that the | 38 // When autohidden we extend the touch hit target onto the screen so that the |
39 // user can drag the shelf out. | 39 // user can drag the shelf out. |
40 extern const int kWorkspaceAreaAutoHideInset; | 40 extern const int kWorkspaceAreaAutoHideInset; |
41 | 41 |
42 // Size of the shelf when auto-hidden. | 42 // Size of the shelf when auto-hidden. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 extern const int kAppListButtonRadius; | 82 extern const int kAppListButtonRadius; |
83 | 83 |
84 // The direction of the focus cycling. | 84 // The direction of the focus cycling. |
85 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; | 85 enum CycleDirection { CYCLE_FORWARD, CYCLE_BACKWARD }; |
86 | 86 |
87 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); | 87 ASH_EXPORT int GetShelfConstant(ShelfConstant shelf_constant); |
88 | 88 |
89 } // namespace ash | 89 } // namespace ash |
90 | 90 |
91 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ | 91 #endif // ASH_COMMON_SHELF_SHELF_CONSTANTS_H_ |
OLD | NEW |