OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_COMMON_ASH_CONSTANTS_H_ | 5 #ifndef ASH_COMMON_ASH_CONSTANTS_H_ |
6 #define ASH_COMMON_ASH_CONSTANTS_H_ | 6 #define ASH_COMMON_ASH_CONSTANTS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 typedef unsigned int SkColor; | 10 typedef unsigned int SkColor; |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 // In the window corners, the resize areas don't actually expand bigger, but the | 14 // In the window corners, the resize areas don't actually expand bigger, but the |
15 // 16 px at the end of each edge triggers diagonal resizing. | 15 // 16 px at the end of each edge triggers diagonal resizing. |
16 ASH_EXPORT extern const int kResizeAreaCornerSize; | 16 ASH_EXPORT extern const int kResizeAreaCornerSize; |
17 | 17 |
18 // Ash windows do not have a traditional visible window frame. Window content | 18 // Ash windows do not have a traditional visible window frame. Window content |
19 // extends to the edge of the window. We consider a small region outside the | 19 // extends to the edge of the window. We consider a small region outside the |
20 // window bounds and an even smaller region overlapping the window to be the | 20 // window bounds and an even smaller region overlapping the window to be the |
21 // "non-client" area and use it for resizing. | 21 // "non-client" area and use it for resizing. |
22 ASH_EXPORT extern const int kResizeOutsideBoundsSize; | 22 ASH_EXPORT extern const int kResizeOutsideBoundsSize; |
23 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch; | 23 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch; |
24 ASH_EXPORT extern const int kResizeInsideBoundsSize; | 24 ASH_EXPORT extern const int kResizeInsideBoundsSize; |
25 | 25 |
26 #if defined(OS_CHROMEOS) | |
27 // Background color used for the Chrome OS boot splash screen. | 26 // Background color used for the Chrome OS boot splash screen. |
28 extern const SkColor kChromeOsBootColor; | 27 extern const SkColor kChromeOsBootColor; |
29 #endif | |
30 | 28 |
31 // The border color of keyboard focus for launcher items and system tray. | 29 // The border color of keyboard focus for launcher items and system tray. |
32 extern const SkColor kFocusBorderColor; | 30 extern const SkColor kFocusBorderColor; |
33 extern const float kFocusBorderThickness; | 31 extern const float kFocusBorderThickness; |
34 | 32 |
35 } // namespace ash | 33 } // namespace ash |
36 | 34 |
37 #endif // ASH_COMMON_ASH_CONSTANTS_H_ | 35 #endif // ASH_COMMON_ASH_CONSTANTS_H_ |
OLD | NEW |