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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/options.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/chromevox/background/options.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/options.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/options.js
index 35d3ac6c38b213723a62fdfcd84ad56d80517f83..7c8e8fcabf37f73b4ec3c741716fc97cc8b5f24d 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/options.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/options.js
@@ -266,7 +266,8 @@ cvox.OptionsPage.populateBrailleTablesSelect = function() {
var sel = node.options[selIndex];
localStorage['brailleTable'] = sel.id;
localStorage[node.id] = sel.id;
- cvox.OptionsPage.getBrailleTranslatorManager().refresh();
+ cvox.OptionsPage.getBrailleTranslatorManager().refresh(
+ localStorage['brailleTable']);
};
};
@@ -297,7 +298,8 @@ cvox.OptionsPage.populateBrailleTablesSelect = function() {
tableTypeButton.textContent =
Msgs.getMsg('options_braille_table_type_8');
}
- cvox.OptionsPage.getBrailleTranslatorManager().refresh();
+ cvox.OptionsPage.getBrailleTranslatorManager().refresh(
+ localStorage['brailleTable']);
};
updateTableType(false);

Powered by Google App Engine
This is Rietveld 408576698