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

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js

Issue 1306773003: Make earcon ids strings instead of numbers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_unused_earcons
Patch Set: Fixed test Created 5 years, 4 months 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/walkers/math_shifter.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js b/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
index db15789aeb6fb03c89675b37bf306c6607aa1b8b..07dda0d7baa734c14f703c2cb3f949af176ac22f 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/math_shifter.js
@@ -89,7 +89,7 @@ cvox.MathShifter.prototype.getDescription = function(prevSel, sel) {
var descs = cvox.SpeechRuleEngine.getInstance().evaluateNode(
cvox.TraverseMath.getInstance().activeNode);
if (this.bumped_ && descs.length > 0) {
- descs[0].pushEarcon(cvox.AbstractEarcons.WRAP_EDGE);
+ descs[0].pushEarcon(cvox.Earcon.WRAP_EDGE);
}
return descs;
};

Powered by Google App Engine
This is Rietveld 408576698