class GestureContender

Defined at line 35 of file ../../src/ui/scenic/lib/input/gesture_contender.h

Interface for a gesture disambiguation contender. All methods are called in response to

a GestureArena.

Public Members

const zx_koid_t view_ref_koid_

Public Methods

void GestureContender (zx_koid_t view_ref_koid)

Defined at line 37 of file ../../src/ui/scenic/lib/input/gesture_contender.h

void UpdateStream (StreamId stream_id, InternalTouchEvent event, bool is_end_of_stream, view_tree::BoundingBox view_bounds)

Called whenever there's a new event for a stream.

void EndContest (StreamId stream_id, bool awarded_win)

Called at the end of a contest. If |awarded_win| is false the GestureContender will

receive no further events for stream |stream_id|.

If called before the first call to UpdateStream() for |stream_id|, the win message should

be delivered to the client along with the initial UpdateStream() event.

void ~GestureContender ()

Defined at line 38 of file ../../src/ui/scenic/lib/input/gesture_contender.h

zx_koid_t channel_koid ()

Defined at line 49 of file ../../src/ui/scenic/lib/input/gesture_contender.h