| 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 47fdd0e6188fbcf8dd084a40458f9f63cb398c53..a1d1cc198c9b3218e6ec7f62b07416913d95b5f9 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
|
| @@ -141,7 +141,9 @@ cvox.BrailleCaptionsBackground.setActive = function(newValue) {
|
| cvox.BrailleCaptionsBackground.getVirtualDisplayState = function() {
|
| var self = cvox.BrailleCaptionsBackground;
|
| if (self.isEnabled()) {
|
| - return {available: true, textCellCount: 40}; // 40, why not?
|
| + var rows = parseInt(localStorage['virtualBrailleRows'], 10) || 1;
|
| + var columns = parseInt(localStorage['virtualBrailleColumns'], 10) || 40;
|
| + return {available: true, textRowCount: rows, textColumnCount: columns};
|
| } else {
|
| return {available: false};
|
| }
|
|
|