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

Side by Side Diff: ash/ash_constants.h

Issue 11306012: Use the same blue solid border among tray and launcher, for focus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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
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_ASH_CONSTANTS_H_ 5 #ifndef ASH_ASH_CONSTANTS_H_
6 #define ASH_ASH_CONSTANTS_H_ 6 #define ASH_ASH_CONSTANTS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
11 11
12 typedef unsigned int SkColor;
13
12 namespace ash { 14 namespace ash {
13 15
14 // The window is a constrained window and lives therefore entirely within 16 // The window is a constrained window and lives therefore entirely within
15 // another aura window. 17 // another aura window.
16 ASH_EXPORT extern const aura::WindowProperty<bool>* const 18 ASH_EXPORT extern const aura::WindowProperty<bool>* const
17 kConstrainedWindowKey; 19 kConstrainedWindowKey;
18 20
19 // In the window corners, the resize areas don't actually expand bigger, but the 21 // In the window corners, the resize areas don't actually expand bigger, but the
20 // 16 px at the end of each edge triggers diagonal resizing. 22 // 16 px at the end of each edge triggers diagonal resizing.
21 ASH_EXPORT extern const int kResizeAreaCornerSize; 23 ASH_EXPORT extern const int kResizeAreaCornerSize;
22 24
23 // Ash windows do not have a traditional visible window frame. Window content 25 // Ash windows do not have a traditional visible window frame. Window content
24 // extends to the edge of the window. We consider a small region outside the 26 // extends to the edge of the window. We consider a small region outside the
25 // window bounds and an even smaller region overlapping the window to be the 27 // window bounds and an even smaller region overlapping the window to be the
26 // "non-client" area and use it for resizing. 28 // "non-client" area and use it for resizing.
27 ASH_EXPORT extern const int kResizeOutsideBoundsSize; 29 ASH_EXPORT extern const int kResizeOutsideBoundsSize;
28 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch; 30 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch;
29 ASH_EXPORT extern const int kResizeInsideBoundsSize; 31 ASH_EXPORT extern const int kResizeInsideBoundsSize;
30 32
33 // The border color of keyboard focus for launcher items and system tray.
34 extern const SkColor kFocusBorderColor;
35
31 } // namespace ash 36 } // namespace ash
32 37
33 #endif // ASH_ASH_CONSTANTS_H_ 38 #endif // ASH_ASH_CONSTANTS_H_
OLDNEW
« 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