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

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

Issue 2813743002: Switch to selected 8-dot braille table in email and url text fields (Closed)
Patch Set: Fixes corner cases (liblouis callbacks sometimes drop when called quickly). Created 3 years, 8 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/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 1e765b6d0a7139f3d0612ac884bb82de1c84d8d3..c271af5d28245a8133db0349bc5cd4faa1c42ca1 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -393,6 +393,9 @@ Background.prototype = {
return;
this.currentRange_ = newRange;
+ ChromeVoxState.observers.forEach(function(observer) {
+ observer.onCurrentRangeChanged(newRange);
+ });
var oldMode = this.mode_;
var newMode = this.getMode();
if (oldMode != newMode) {

Powered by Google App Engine
This is Rietveld 408576698