summaryrefslogtreecommitdiffstats
path: root/ash/ash_constants.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 23:22:12 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 23:22:12 +0000
commit410af261442c970060db95c5a82ef44424179f6d (patch)
tree621c668d6c5d92d5608bb52adaa0298f8b9f7243 /ash/ash_constants.h
parent5cc1b6590873a23e33a6a14ff8e992f3dba69679 (diff)
downloadchromium_src-410af261442c970060db95c5a82ef44424179f6d.zip
chromium_src-410af261442c970060db95c5a82ef44424179f6d.tar.gz
chromium_src-410af261442c970060db95c5a82ef44424179f6d.tar.bz2
ash: Fix hit-testing when windows are in immersive fullscreen mode.
If a window is in an immersive fullscreen mode, then touch events towards the top of the screen should not reach the child window, because the window can consume the touch events, and in that case, the top-container of the window cannot be revealed using touch-drag gesture. The CL moves ResizeHandleWindowTargeter out of FrameBorderHitTestController into its own file, and updates it so that it can be used for immersive mode fullscreen windows in ImmersiveFullscreenController. BUG=318879 R=jamescook@chromium.org, pkotwicz@chromium.org Review URL: https://codereview.chromium.org/143453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_constants.h')
-rw-r--r--ash/ash_constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/ash_constants.h b/ash/ash_constants.h
index cad4354..f139032 100644
--- a/ash/ash_constants.h
+++ b/ash/ash_constants.h
@@ -33,6 +33,10 @@ extern const SkColor kChromeOsBootColor;
// The border color of keyboard focus for launcher items and system tray.
extern const SkColor kFocusBorderColor;
+// How many pixels are reserved for touch-events towards the top of an
+// immersive-fullscreen window.
+extern const int kImmersiveFullscreenTopEdgeInset;
+
} // namespace ash
#endif // ASH_ASH_CONSTANTS_H_