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

Side by Side Diff: ash/ash_constants.h

Issue 2061823002: mash: Move ash constants and layout constants files to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayimageitem
Patch Set: rebase Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_ASH_CONSTANTS_H_
6 #define ASH_ASH_CONSTANTS_H_
7
8 #include "ash/ash_export.h"
9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h"
11
12 typedef unsigned int SkColor;
13
14 namespace ash {
15
16 // In the window corners, the resize areas don't actually expand bigger, but the
17 // 16 px at the end of each edge triggers diagonal resizing.
18 ASH_EXPORT extern const int kResizeAreaCornerSize;
19
20 // Ash windows do not have a traditional visible window frame. Window content
21 // extends to the edge of the window. We consider a small region outside the
22 // window bounds and an even smaller region overlapping the window to be the
23 // "non-client" area and use it for resizing.
24 ASH_EXPORT extern const int kResizeOutsideBoundsSize;
25 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch;
26 ASH_EXPORT extern const int kResizeInsideBoundsSize;
27
28 #if defined(OS_CHROMEOS)
29 // Background color used for the Chrome OS boot splash screen.
30 extern const SkColor kChromeOsBootColor;
31 #endif
32
33 // The border color of keyboard focus for launcher items and system tray.
34 extern const SkColor kFocusBorderColor;
35
36 // How many pixels are reserved for touch-events towards the top of an
37 // immersive-fullscreen window.
38 extern const int kImmersiveFullscreenTopEdgeInset;
39
40 } // namespace ash
41
42 #endif // ASH_ASH_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698