Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js

Issue 2486293002: Add keyboard explorer improvements for braille (Closed)
Patch Set: Indents and braille cap cond Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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?' +
- '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;

Powered by Google App Engine
This is Rietveld 408576698