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

Side by Side Diff: ash/ash_constants.cc

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 | « ash/ash_constants.h ('k') | ash/wm/frame_painter.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 #include "ash/ash_constants.h" 5 #include "ash/ash_constants.h"
6 6
7 #include "ui/aura/window_property.h" 7 #include "ui/aura/window_property.h"
8 8
9 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, bool) 9 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(ASH_EXPORT, bool)
10 10
11 namespace ash { 11 namespace ash {
12 12
13 DEFINE_WINDOW_PROPERTY_KEY(bool, kConstrainedWindowKey, false); 13 DEFINE_WINDOW_PROPERTY_KEY(bool, kConstrainedWindowKey, false);
14 14
15 const int kResizeAreaCornerSize = 16; 15 const int kResizeAreaCornerSize = 16;
16 const int kResizeOutsideBoundsSizeTouch = 30;
17 const int kResizeOutsideBoundsSize = 6; 16 const int kResizeOutsideBoundsSize = 6;
17 const int kResizeOutsideBoundsScaleForTouch = 5;
18 const int kResizeInsideBoundsSize = 1; 18 const int kResizeInsideBoundsSize = 1;
19 19
20 } // namespace ash 20 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_constants.h ('k') | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698