class ThreeFingerSwipeAction

Defined at line 21 of file ../../src/ui/a11y/lib/screen_reader/three_finger_swipe_action.h

This class implements three finger swipe action.

Responsibilities of three finger swipe Action is:

* Calls OnGesture() for |gesture_type_| on the Gesture listener.

As part of the callback from OnGesture() if an utterance is returned then call TTS to speak.

This Action is different than 1 Finger swipe, since it uses GestureListener to complete the

action.

Public Methods

void ThreeFingerSwipeAction (ActionContext * action_context, ScreenReaderContext * screen_reader_context, GestureListenerRegistry * gesture_listener_registry, fuchsia::accessibility::gesture::Type gesture_type)

|action_context| and |screen_reader_context| are expected to be be initialized and they must

outlive this class. This class doesn't take ownership of the pointers which are passed.

Defined at line 14 of file ../../src/ui/a11y/lib/screen_reader/three_finger_swipe_action.cc

void ~ThreeFingerSwipeAction ()

Defined at line 24 of file ../../src/ui/a11y/lib/screen_reader/three_finger_swipe_action.cc

void Run (a11y::gesture_util_v2::GestureContext gesture_context)

This method implements the actual sequence of events that should

happens when an associated gesture is performed on an element.

Defined at line 26 of file ../../src/ui/a11y/lib/screen_reader/three_finger_swipe_action.cc