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

Side by Side Diff: ash/ash_constants.h

Issue 10854060: ash: Use different hit-test outer-region for mouse and touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scale Created 8 years, 4 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 | 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 namespace ash { 12 namespace ash {
13 13
14 // The window is a constrained window and lives therefore entirely within 14 // The window is a constrained window and lives therefore entirely within
15 // another aura window. 15 // another aura window.
16 ASH_EXPORT extern const aura::WindowProperty<bool>* const 16 ASH_EXPORT extern const aura::WindowProperty<bool>* const
17 kConstrainedWindowKey; 17 kConstrainedWindowKey;
18 18
19 // In the window corners, the resize areas don't actually expand bigger, but the 19 // 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. 20 // 16 px at the end of each edge triggers diagonal resizing.
21 ASH_EXPORT extern const int kResizeAreaCornerSize; 21 ASH_EXPORT extern const int kResizeAreaCornerSize;
22 22
23 // Ash windows do not have a traditional visible window frame. Window content 23 // 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 24 // 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 25 // window bounds and an even smaller region overlapping the window to be the
26 // "non-client" area and use it for resizing. 26 // "non-client" area and use it for resizing.
27 ASH_EXPORT extern const int kResizeOutsideBoundsSizeTouch;
28 ASH_EXPORT extern const int kResizeOutsideBoundsSize; 27 ASH_EXPORT extern const int kResizeOutsideBoundsSize;
28 ASH_EXPORT extern const int kResizeOutsideBoundsScaleForTouch;
29 ASH_EXPORT extern const int kResizeInsideBoundsSize; 29 ASH_EXPORT extern const int kResizeInsideBoundsSize;
30 30
31 } // namespace ash 31 } // namespace ash
32 32
33 #endif // ASH_ASH_CONSTANTS_H_ 33 #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