summaryrefslogtreecommitdiff
path: root/chromium/ash/ash_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/ash_constants.h')
-rw-r--r--chromium/ash/ash_constants.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/chromium/ash/ash_constants.h b/chromium/ash/ash_constants.h
new file mode 100644
index 00000000000..cad4354bcb0
--- /dev/null
+++ b/chromium/ash/ash_constants.h
@@ -0,0 +1,38 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_ASH_CONSTANTS_H_
+#define ASH_ASH_CONSTANTS_H_
+
+#include "ash/ash_export.h"
+#include "ui/aura/window.h"
+#include "ui/base/ui_base_types.h"
+
+typedef unsigned int SkColor;
+
+namespace ash {
+
+// 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 kResizeOutsideBoundsSize;
+ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch;
+ASH_EXPORT extern const int kResizeInsideBoundsSize;
+
+#if defined(OS_CHROMEOS)
+// Background color used for the Chrome OS boot splash screen.
+extern const SkColor kChromeOsBootColor;
+#endif
+
+// The border color of keyboard focus for launcher items and system tray.
+extern const SkColor kFocusBorderColor;
+
+} // namespace ash
+
+#endif // ASH_ASH_CONSTANTS_H_