Index: ui/chromeos/touch_exploration_controller.h |
diff --git a/ui/chromeos/touch_exploration_controller.h b/ui/chromeos/touch_exploration_controller.h |
index 6727c2a5eded9d6faf66f69cc16bfa2c649ddee5..ffd3476ae52cc3089f33a8a3d02deb76e5472051 100644 |
--- a/ui/chromeos/touch_exploration_controller.h |
+++ b/ui/chromeos/touch_exploration_controller.h |
@@ -194,6 +194,10 @@ class UI_CHROMEOS_EXPORT TouchExplorationController |
// |bounds| are in root window coordinates. |
void SetExcludeBounds(const gfx::Rect& bounds); |
+ // For touch explore release state that fall within |bounds|, causes a tap to |
+ // be synthesized and dispatched to the anchor point. |
+ void SetLiftActivationBounds(const gfx::Rect& bounds); |
+ |
private: |
friend class TouchExplorationControllerTestApi; |
@@ -296,7 +300,9 @@ class UI_CHROMEOS_EXPORT TouchExplorationController |
void PlaySoundForTimer(); |
- void SendSimulatedClick(); |
+ void SendSimulatedClickOrTap(); |
+ void SendSimulatedTap(); |
+ void MaybeSendSimulatedTapInLiftActivationBounds(const ui::TouchEvent& event); |
// Some constants used in touch_exploration_controller: |
@@ -514,6 +520,8 @@ class UI_CHROMEOS_EXPORT TouchExplorationController |
// rewritten when TouchExplorationController is running. |
TouchAccessibilityEnabler* touch_accessibility_enabler_; |
+ gfx::Rect lift_activation_bounds_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); |
}; |