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

Unified Diff: ui/base/gestures/gesture_sequence.h

Issue 10816008: ash: Record some additional information about the gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/gestures/gesture_sequence.h
diff --git a/ui/base/gestures/gesture_sequence.h b/ui/base/gestures/gesture_sequence.h
index a8be2a62ab00f7a9ad8e5d1c2c11cdf10f937e0b..8199bca21e4821140936b2acf3525a5caaea1a2e 100644
--- a/ui/base/gestures/gesture_sequence.h
+++ b/ui/base/gestures/gesture_sequence.h
@@ -75,6 +75,15 @@ class UI_EXPORT GestureSequence {
bool IsSecondTouchDownCloseEnoughForTwoFingerTap();
+ // Creates a gesture event with the specified parameters. The function updates
+ // |details| to contain some common information (e.g. number of touch-points
+ // in the gesture etc.).
+ GestureEvent* CreateGestureEvent(GestureEventDetails details,
sky 2012/07/21 00:01:54 const GestureEventDetails& (make a copy in the imp
sadrul 2012/07/21 00:55:40 Done.
+ const gfx::Point& location,
+ int flags,
+ base::Time timestamp,
+ unsigned int touch_id_bitmask);
+
// Functions to be called to add GestureEvents, after successful recognition.
// Tap gestures.

Powered by Google App Engine
This is Rietveld 408576698