summaryrefslogtreecommitdiffstats
path: root/ash/ash_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/ash_constants.h')
-rw-r--r--ash/ash_constants.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ash/ash_constants.h b/ash/ash_constants.h
index 62fde2c..17082d8 100644
--- a/ash/ash_constants.h
+++ b/ash/ash_constants.h
@@ -16,6 +16,18 @@ namespace ash {
ASH_EXPORT extern const aura::WindowProperty<bool>* const
kConstrainedWindowKey;
+// In the window corners, the resize areas don't actually expand bigger, but the
+// 16 px at the end of each edge triggers diagonal resizing.
+ASH_EXPORT extern const int kResizeAreaCornerSize;
+
+// Ash windows do not have a traditional visible window frame. Window content
+// extends to the edge of the window. We consider a small region outside the
+// window bounds and an even smaller region overlapping the window to be the
+// "non-client" area and use it for resizing.
+ASH_EXPORT extern const int kResizeOutsideBoundsSizeTouch;
+ASH_EXPORT extern const int kResizeOutsideBoundsSize;
+ASH_EXPORT extern const int kResizeInsideBoundsSize;
+
} // namespace ash
#endif // ASH_ASH_CONSTANTS_H_