summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 00:04:46 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 00:04:46 +0000
commiteb0593fc919ba4ff1b16151d462eb80c301c77a0 (patch)
treedeef7f2172c5a7b39015a8d2accd30eb84153b61 /content/port
parent779c1897f97cccd5b1096a3d87897c556f2a7860 (diff)
downloadchromium_src-eb0593fc919ba4ff1b16151d462eb80c301c77a0.zip
chromium_src-eb0593fc919ba4ff1b16151d462eb80c301c77a0.tar.gz
chromium_src-eb0593fc919ba4ff1b16151d462eb80c301c77a0.tar.bz2
Add support for compositor-thread hit-testing for touch events in all platforms.
If there are no consumer for the first touch-press event in the renderer, then subsequent touch events (touch-move, touch-release, and touch-press for other touch points) should not be sent to the renderer at all, even if the page has touch-event handlers installed. Once all the touch-points have been released, any subsequent touch-press event should again be sent to the renderer. BUG=168350 Review URL: https://codereview.chromium.org/12104002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/common/input_event_ack_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/port/common/input_event_ack_state.h b/content/port/common/input_event_ack_state.h
index 77a1363..55fd99c 100644
--- a/content/port/common/input_event_ack_state.h
+++ b/content/port/common/input_event_ack_state.h
@@ -9,6 +9,7 @@ namespace content {
// Describes the state of the input event ACK coming back to the browser side.
enum InputEventAckState {
+ INPUT_EVENT_ACK_STATE_UNKNOWN,
INPUT_EVENT_ACK_STATE_CONSUMED,
INPUT_EVENT_ACK_STATE_NOT_CONSUMED,
INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS,