summaryrefslogtreecommitdiffstats
path: root/ash/ash_constants.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-08 17:51:35 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-08 17:51:35 +0000
commitcb3221b804cdad65aaade7faff1f612644dee4a3 (patch)
tree97fb19f3b3704eb6e9d50440151ff99b90545da2 /ash/ash_constants.h
parent53f2de984429021bd22e4d33d7aeb2ce52137211 (diff)
downloadchromium_src-cb3221b804cdad65aaade7faff1f612644dee4a3.zip
chromium_src-cb3221b804cdad65aaade7faff1f612644dee4a3.tar.gz
chromium_src-cb3221b804cdad65aaade7faff1f612644dee4a3.tar.bz2
ash: Export some constants for some code cleanup.
BUG=none Review URL: https://chromiumcodereview.appspot.com/10825249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150586 0039d316-1c4b-4281-b951-d872f2087c98
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_