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

Unified Diff: chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js

Issue 2362673004: Aligns text to braille in chromevox. (Closed)
Patch Set: Addressed code reviews. Extracted grouping algorithm into a helper method. Created 4 years, 3 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/braille/braille_display_manager.js
diff --git a/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js b/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js
index 5f2039a212dfe04518e72764919125341fd32e40..ba81490b477a353603b5033a13c0ebce1adda9f8 100644
--- a/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js
+++ b/chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js
@@ -199,7 +199,8 @@ cvox.BrailleDisplayManager.prototype.refresh_ = function() {
var start = this.brailleToTextPosition_(viewPort.start);
var end = this.brailleToTextPosition_(viewPort.end);
cvox.BrailleCaptionsBackground.setContent(
- this.content_.text.toString().substring(start, end), buf);
+ this.content_.text.toString().substring(start, end), buf,
+ this.brailleToText_);
}
};

Powered by Google App Engine
This is Rietveld 408576698