Commit f2ee6ed7 authored by dmazzoni@chromium.org's avatar dmazzoni@chromium.org

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
parent 3e92b639
...@@ -247,6 +247,9 @@ cvox.KeySequence.prototype.rationalizeKeys_ = function() { ...@@ -247,6 +247,9 @@ cvox.KeySequence.prototype.rationalizeKeys_ = function() {
if (modifierKeyCombo.indexOf(metaKeyName) != -1) { if (modifierKeyCombo.indexOf(metaKeyName) != -1) {
if (metaKeyName == 'Search') { if (metaKeyName == 'Search') {
this.keys.searchKeyHeld[index] = false; 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') { } else if (metaKeyName == 'Cmd' || metaKeyName == 'Win') {
this.keys.metaKey[index] = false; this.keys.metaKey[index] = false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment