diff options
author | lisayin@chromium.org <lisayin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 05:23:38 +0000 |
---|---|---|
committer | lisayin@chromium.org <lisayin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-14 05:24:53 +0000 |
commit | 07f3ea969b262da2da177f4d9092efb0a37dd6ba (patch) | |
tree | 37499bd901955b100e5b59f48c31eb91c164d6f0 /ash/default_accessibility_delegate.cc | |
parent | 844005f39ef04bd6b8379f182b4db5348348dfc2 (diff) | |
download | chromium_src-07f3ea969b262da2da177f4d9092efb0a37dd6ba.zip chromium_src-07f3ea969b262da2da177f4d9092efb0a37dd6ba.tar.gz chromium_src-07f3ea969b262da2da177f4d9092efb0a37dd6ba.tar.bz2 |
Implementated corner passthrough when touch exploration
controller is on.
If the user presses and holds the bottom right or left
corner of the screen past a time delay, an earcon will
sound, and then any subsequent fingers added onto the
screen will send touch events as normal (passed through)
as long as one finger is at a corner of the screen. Once
the finger on the corner of the screen has lifted, then
nothing will happen until all the fingers on the screen
have been lifted.
UPDATE: Added earcons (short sound notifications) to
indicate to the user if they have moved their finger off
the screen or onto the screen or if they are in passthrough.
BUG=396310
Review URL: https://codereview.chromium.org/410783002
Cr-Commit-Position: refs/heads/master@{#289468}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/default_accessibility_delegate.cc')
-rw-r--r-- | ash/default_accessibility_delegate.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/default_accessibility_delegate.cc b/ash/default_accessibility_delegate.cc index ee4f27b..b9ecfa2 100644 --- a/ash/default_accessibility_delegate.cc +++ b/ash/default_accessibility_delegate.cc @@ -110,6 +110,9 @@ AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() { return accessibility_alert_; } +void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) { +} + base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { return base::TimeDelta(); } |