Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| index 72810d1ec6e51430e547dfa0a3142fc1ab118c79..cd9809eb237d67353f719186a824a616818fd62d 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| @@ -178,14 +178,6 @@ Background = function() { |
| }; |
| /** |
| - * @const {string} |
| - */ |
| -Background.ISSUE_URL = 'https://code.google.com/p/chromium/issues/entry?' + |
|
dmazzoni
2016/11/10 01:22:04
Did you mean to delete this as part of this change
David Tseng
2016/11/10 04:56:58
Acknowledged.
|
| - 'labels=Type-Bug,Pri-2,cvox2,OS-Chrome&' + |
| - 'components=UI>accessibility&' + |
| - 'description='; |
| - |
| -/** |
| * Map from gesture names (AXGesture defined in ui/accessibility/ax_enums.idl) |
| * to commands when in Classic mode. |
| * @type {Object<string, string>} |
| @@ -552,7 +544,9 @@ Background.prototype = { |
| if (!evt.brailleDots) |
| return false; |
| - BrailleCommandHandler.onBrailleCommand(evt.brailleDots); |
| + var command = BrailleCommandHandler.getCommand(evt.brailleDots); |
| + if (command) |
| + CommandHandler.onCommand(command); |
| break; |
| default: |
| return false; |