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

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
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/base/gestures/gesture_sequence.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..91281396ef6a80d51100f1ce07498886b946a9ae 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
+ // includes some common information (e.g. number of touch-points in the
+ // gesture etc.) in the gesture event as well.
+ GestureEvent* CreateGestureEvent(const GestureEventDetails& details,
+ 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.
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/base/gestures/gesture_sequence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698