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

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

Issue 2703663002: Display images in multiline Braille (Closed)
Patch Set: Final feedback Created 3 years, 10 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 9eb004733419fe7e04c438bdf3ec588942b4e844..cdcd119334f78497c545c1c4ce18b5410510570a 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -397,6 +397,10 @@ Background.prototype = {
* @override
*/
setCurrentRange: function(newRange) {
+ // Clear anything that was frozen on the braille display whenever
+ // the user navigates.
+ cvox.ChromeVox.braille.thaw();
+
if (newRange && !newRange.isValid())
return;

Powered by Google App Engine
This is Rietveld 408576698