Index: ui/chromeos/touch_exploration_controller.h |
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h |
index 59ff11444f54a4cf7bbd0b1a057e8de65ebfe23e..72286e1ce64638b002dbd2c98d046d1b8984f252 100644 |
--- a/ui/chromeos/touch_exploration_controller.h |
+++ b/ui/chromeos/touch_exploration_controller.h |
@@ -40,6 +40,9 @@ class TouchExplorationControllerDelegate { |
// Takes an int from 0.0 to 100.0 that indicates the percent the volume |
// should be set to. |
virtual void SetOutputLevel(int volume) = 0; |
+ |
+ // Silences spoken feedback. |
+ virtual void SilenceSpokenFeedback() = 0; |
}; |
// TouchExplorationController is used in tandem with "Spoken Feedback" to |
@@ -183,6 +186,8 @@ class UI_CHROMEOS_EXPORT TouchExplorationController |
const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); |
ui::EventRewriteStatus InSlideGesture( |
const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); |
+ ui::EventRewriteStatus InTwoFingerTap( |
+ const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); |
// Returns the current time of the tick clock. |
base::TimeDelta Now(); |
@@ -314,6 +319,9 @@ class UI_CHROMEOS_EXPORT TouchExplorationController |
// including corners, then the resulting movements will be interpreted as |
// slide gestures. |
SLIDE_GESTURE, |
+ |
+ // If the user makes a two finger tap, silence spoken feedback. |
+ TWO_FINGER_TAP, |
}; |
enum ScreenLocation { |