Chromium Code Reviews| 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 |
|
Daniel Erat
2017/05/30 17:15:50
nit: s/state/states/
David Tseng
2017/05/30 17:48:50
Done.
|
| + // be synthesized and dispatched to the anchor point. |
|
Daniel Erat
2017/05/30 17:15:50
this comment seems a bit misleading, since this me
David Tseng
2017/05/30 17:48:50
Done.
|
| + 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(); |
|
Daniel Erat
2017/05/30 17:15:50
please add comments above these methods documentin
David Tseng
2017/05/30 17:48:50
Done.
|
| + 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_; |
|
Daniel Erat
2017/05/30 17:15:50
add a comment documenting what this contains
David Tseng
2017/05/30 17:48:50
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); |
| }; |