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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.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/chromevox/background/braille_captions_background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
index 0d2183c970466678700f506f1af19fb32f677b3a..2c7fa184355d6ca354350f710f5c58dd8273c7ae 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/braille_captions_background.js
@@ -86,8 +86,8 @@ cvox.BrailleCaptionsBackground.setActive = function(newValue) {
self.stateCallback_();
}
var msg = newValue ?
- cvox.ChromeVox.msgs.getMsg('braille_captions_enabled') :
- cvox.ChromeVox.msgs.getMsg('braille_captions_disabled');
+ Msgs.getMsg('braille_captions_enabled') :
+ Msgs.getMsg('braille_captions_disabled');
cvox.ChromeVox.tts.speak(msg, cvox.QueueMode.QUEUE);
cvox.ChromeVox.braille.write(cvox.NavBraille.fromText(msg));
}

Powered by Google App Engine
This is Rietveld 408576698