diff options
Diffstat (limited to 'ui/aura/event.h')
-rw-r--r-- | ui/aura/event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/event.h b/ui/aura/event.h index 04fe46d..48f3c81 100644 --- a/ui/aura/event.h +++ b/ui/aura/event.h @@ -194,6 +194,10 @@ class AURA_EXPORT TouchEvent : public LocatedEvent { float rotation_angle() const { return rotation_angle_; } float force() const { return force_; } + // Returns a copy of this touch event. Used when queueing events for + // asynchronous gesture recognition. + TouchEvent* Copy() const; + private: // The identity (typically finger) of the touch starting at 0 and incrementing // for each separable additional touch that the hardware can detect. |