diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-20 04:11:22 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-20 04:12:44 +0000 |
commit | f2ee6ed79b91e265faa5c3c09b35307aeae7e276 (patch) | |
tree | a54a1eedd63527a5484b407bed31bc60226a3d9b | |
parent | 3e92b639952547e0c69d7624825429f8db9906d4 (diff) | |
download | chromium_src-f2ee6ed79b91e265faa5c3c09b35307aeae7e276.zip chromium_src-f2ee6ed79b91e265faa5c3c09b35307aeae7e276.tar.gz chromium_src-f2ee6ed79b91e265faa5c3c09b35307aeae7e276.tar.bz2 |
Fix broken ChromeVox keyboard shortcuts.
BUG=404770
Review URL: https://codereview.chromium.org/479323002
Cr-Commit-Position: refs/heads/master@{#290758}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290758 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/chromeos/chromevox/common/key_sequence.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/resources/chromeos/chromevox/common/key_sequence.js b/chrome/browser/resources/chromeos/chromevox/common/key_sequence.js index f0d0923..90647dd 100644 --- a/chrome/browser/resources/chromeos/chromevox/common/key_sequence.js +++ b/chrome/browser/resources/chromeos/chromevox/common/key_sequence.js @@ -247,6 +247,9 @@ cvox.KeySequence.prototype.rationalizeKeys_ = function() { if (modifierKeyCombo.indexOf(metaKeyName) != -1) { if (metaKeyName == 'Search') { this.keys.searchKeyHeld[index] = false; + // TODO(dmazzoni): http://crbug.com/404763 Get rid of the code that + // tracks the search key and just use meta everywhere. + this.keys.metaKey[index] = false; } else if (metaKeyName == 'Cmd' || metaKeyName == 'Win') { this.keys.metaKey[index] = false; } |