Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(951)

Unified Diff: ash/ash_constants.h

Issue 10825249: ash: Export some constants for some code cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nit Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/ash_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_constants.h
diff --git a/ash/ash_constants.h b/ash/ash_constants.h
index 62fde2c13d686613d2f1df2e80211528eba18436..17082d84b258b0753ec717025f38d59ff2294978 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_
« no previous file with comments | « no previous file | ash/ash_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698