Don't announce clipboard events if the event target is not visible and focused.
commit7325e77dfe9e47584f63233bd2aea1cb8412857a
authordmazzoni <dmazzoni@chromium.org>
Wed, 1 Apr 2015 22:21:20 +0000 (1 15:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 22:22:51 +0000 (1 22:22 +0000)
tree6c8d571d78609776b9e7c9085804ef80cd8afd00
parent02a0aa23197f583bb8fa04b66655553f612ea269
Don't announce clipboard events if the event target is not visible and focused.

Basically if any other event on that target wouldn't normally be announced
by ChromeVox, we shouldn't announce clipboard events either.

BUG=465939

Review URL: https://codereview.chromium.org/1040333004

Cr-Commit-Position: refs/heads/master@{#323342}
chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js