| 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 c464f1cfb76d8316bb2ba55d335da481d447daad..70a50675ccda9d2187f05b1a7033998d2ec2dd15 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| @@ -127,10 +127,10 @@ Background = function() {
|
|
|
| cvox.ExtensionBridge.addMessageListener(this.onMessage_);
|
|
|
| - /** @type {!BackgroundKeyboardHandler} */
|
| + /** @type {!BackgroundKeyboardHandler} @private */
|
| this.keyboardHandler_ = new BackgroundKeyboardHandler();
|
|
|
| - /** @type {!LiveRegions} */
|
| + /** @type {!LiveRegions} @private */
|
| this.liveRegions_ = new LiveRegions(this);
|
|
|
| /** @type {boolean} @private */
|
| @@ -139,6 +139,7 @@ Background = function() {
|
| /**
|
| * Stores the mode as computed the last time a current range was set.
|
| * @type {?ChromeVoxMode}
|
| + * @private
|
| */
|
| this.mode_ = null;
|
|
|
| @@ -519,6 +520,7 @@ Background.prototype = {
|
| * 1. a url is blacklisted for Classic.
|
| * 2. the current range is not within web content.
|
| * @param {string} url
|
| + * @return {boolean}
|
| */
|
| isWhitelistedForCompat_: function(url) {
|
| return this.isBlacklistedForClassic_(url) || (this.getCurrentRange() &&
|
| @@ -626,7 +628,7 @@ Background.prototype = {
|
| } else if (action == 'onCommand') {
|
| CommandHandler.onCommand(msg['command']);
|
| } else if (action == 'flushNextUtterance') {
|
| - Output.flushNextSpeechUtterance();
|
| + Output.forceModeForNextSpeechUtterance(cvox.QueueMode.FLUSH);
|
| }
|
| break;
|
| }
|
|
|