summaryrefslogtreecommitdiffstats
path: root/ash/ash_constants.h
blob: d5e75f7863f61e640670359b4cc7e3eb4acef99b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// 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;

// How many pixels are reserved for touch-events towards the top of an
// immersive-fullscreen window.
extern const int kImmersiveFullscreenTopEdgeInset;

}  // namespace ash

#endif  // ASH_ASH_CONSTANTS_H_