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

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

Issue 1362223003: Improve braille related message descriptions and clean up message handling in Chromevox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputtypeexception
Patch Set: Move another braille message to Msgs.Untranslated Created 5 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/walkers/table_shifter.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/table_shifter.js b/chrome/browser/resources/chromeos/chromevox/walkers/table_shifter.js
index 090aa10c05abac20b49d040fe231873fc1bb9db6..98409b7d345c4e20f0524c6f1704bb759f512ecf 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/table_shifter.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/table_shifter.js
@@ -63,14 +63,14 @@ cvox.TableShifter.prototype.sync = function(sel) {
* @override
*/
cvox.TableShifter.prototype.getName = function() {
- return cvox.ChromeVox.msgs.getMsg('table_shifter');
+ return Msgs.getMsg('table_shifter');
};
/**
* @override
* @suppress {checkTypes} actual parameter 2 of
- * cvox.Msgs.prototype.getMsg does not match formal parameter
+ * Msgs.prototype.getMsg does not match formal parameter
* found : Array<number>
* required: (Array<string>|null|undefined)
*/
@@ -87,7 +87,7 @@ cvox.TableShifter.prototype.getDescription = function(prevSel, sel) {
var locationInfo = this.currentWalker_.getLocationInfo(sel);
if (locationInfo != null) {
descs.push(new cvox.NavDescription({
- context: cvox.ChromeVox.msgs.getMsg('table_location', locationInfo),
+ context: Msgs.getMsg('table_location', locationInfo),
text: '',
annotation: summaryText ? summaryText + ' ' : ''
}));
@@ -95,7 +95,7 @@ cvox.TableShifter.prototype.getDescription = function(prevSel, sel) {
if (this.currentWalker_.tt.isSpanned()) {
descs.push(new cvox.NavDescription({
text: '',
- annotation: cvox.ChromeVox.msgs.getMsg('spanned')
+ annotation: Msgs.getMsg('spanned')
}));
}
this.begin_ = false;

Powered by Google App Engine
This is Rietveld 408576698