summaryrefslogtreecommitdiffstats
path: root/ui/base
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 20:38:42 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 20:38:42 +0000
commit4aeda5795fa3d1a3b3e5f7ed71c2acbc41d94a6d (patch)
tree45221c6258e7a1f8fe407645373f9a18b0e811f7 /ui/base
parentd33f0067c151a55b38ebe687727ed2d3a34affee (diff)
downloadchromium_src-4aeda5795fa3d1a3b3e5f7ed71c2acbc41d94a6d.zip
chromium_src-4aeda5795fa3d1a3b3e5f7ed71c2acbc41d94a6d.tar.gz
chromium_src-4aeda5795fa3d1a3b3e5f7ed71c2acbc41d94a6d.tar.bz2
aura: Add event queues in the GestureRecognizer.
Event-queues allow the GestureRecognizer to maintain multiple states for different gestures. Especially, this makes it possible to correctly process queued up (asynchronous) touch-events at the same time it processes synchronous touch-events. Throttling/filtering touch-events that go to the renderer is now removed. This may be added back at a later time. BUG=110230 TEST=none (will be added in a future CL: http://codereview.chromium.org/9129012/) Review URL: https://chromiumcodereview.appspot.com/9150046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base')
-rw-r--r--ui/base/events.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/base/events.h b/ui/base/events.h
index d9cac3d..2adf436 100644
--- a/ui/base/events.h
+++ b/ui/base/events.h
@@ -81,9 +81,11 @@ enum TouchStatus {
TOUCH_STATUS_END, // The touch event ended the touch sequence.
TOUCH_STATUS_CANCEL, // The touch event was cancelled, but didn't
// terminate the touch sequence.
- TOUCH_STATUS_SYNTH_MOUSE // The touch event was not processed, but a
+ TOUCH_STATUS_SYNTH_MOUSE, // The touch event was not processed, but a
// synthetic mouse event generated from the
// unused touch event was handled.
+ TOUCH_STATUS_QUEUED, // The touch event has not been processed yet, but
+ // may be processed asynchronously later.
};
// Updates the list of devices for cached properties.