| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
|
| index 372f8b5f5ce98a247a4220ab0099227e548c8d46..58208c3e4a67cd98c85c6e20b8db944234f4c90b 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
|
| @@ -39,17 +39,6 @@
|
| */
|
| ChromeVoxState.instance;
|
|
|
| -/**
|
| - * Holds the un-composite tts object.
|
| - * @type {Object}
|
| - */
|
| -ChromeVoxState.backgroundTts;
|
| -
|
| -/**
|
| - * @type {boolean}
|
| - */
|
| - ChromeVoxState.isReadingContinuously;
|
| -
|
| ChromeVoxState.prototype = {
|
| /** @type {ChromeVoxMode} */
|
| get mode() {
|
| @@ -63,6 +52,20 @@
|
| getMode: function() {
|
| return ChromeVoxMode.NEXT;
|
| },
|
| +
|
| + /**
|
| + * Sets the current ChromeVox mode.
|
| + * @param {ChromeVoxMode} mode
|
| + * @param {boolean=} opt_injectClassic Injects ChromeVox classic into tabs;
|
| + * defaults to false.
|
| + */
|
| + setMode: goog.abstractMethod,
|
| +
|
| + /**
|
| + * Refreshes the current mode based on a node.
|
| + * @param {!chrome.automation.AutomationNode} url
|
| + */
|
| + refreshMode: goog.abstractMethod,
|
|
|
| /** @type {cursors.Range} */
|
| get currentRange() {
|
|
|