OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ASH_CONSTANTS_H_ | 5 #ifndef ASH_ASH_CONSTANTS_H_ |
6 #define ASH_ASH_CONSTANTS_H_ | 6 #define ASH_ASH_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 // The window is a constrained window and lives therefore entirely within | 14 // The window is a constrained window and lives therefore entirely within |
15 // another aura window. | 15 // another aura window. |
16 ASH_EXPORT extern const aura::WindowProperty<bool>* const | 16 ASH_EXPORT extern const aura::WindowProperty<bool>* const |
17 kConstrainedWindowKey; | 17 kConstrainedWindowKey; |
18 | 18 |
19 // In the window corners, the resize areas don't actually expand bigger, but the | 19 // In the window corners, the resize areas don't actually expand bigger, but the |
20 // 16 px at the end of each edge triggers diagonal resizing. | 20 // 16 px at the end of each edge triggers diagonal resizing. |
21 ASH_EXPORT extern const int kResizeAreaCornerSize; | 21 ASH_EXPORT extern const int kResizeAreaCornerSize; |
22 | 22 |
23 // Ash windows do not have a traditional visible window frame. Window content | 23 // Ash windows do not have a traditional visible window frame. Window content |
24 // extends to the edge of the window. We consider a small region outside the | 24 // extends to the edge of the window. We consider a small region outside the |
25 // window bounds and an even smaller region overlapping the window to be the | 25 // window bounds and an even smaller region overlapping the window to be the |
26 // "non-client" area and use it for resizing. | 26 // "non-client" area and use it for resizing. |
27 ASH_EXPORT extern const int kResizeOutsideBoundsSizeTouch; | |
28 ASH_EXPORT extern const int kResizeOutsideBoundsSize; | 27 ASH_EXPORT extern const int kResizeOutsideBoundsSize; |
| 28 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch; |
29 ASH_EXPORT extern const int kResizeInsideBoundsSize; | 29 ASH_EXPORT extern const int kResizeInsideBoundsSize; |
30 | 30 |
31 } // namespace ash | 31 } // namespace ash |
32 | 32 |
33 #endif // ASH_ASH_CONSTANTS_H_ | 33 #endif // ASH_ASH_CONSTANTS_H_ |
OLD | NEW |