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

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

Issue 2093753002: Reland: Make ChromeVox Next a setting in options page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/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 58208c3e4a67cd98c85c6e20b8db944234f4c90b..372f8b5f5ce98a247a4220ab0099227e548c8d46 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/chromevox_state.js
@@ -39,6 +39,17 @@ ChromeVoxState = function() {
*/
ChromeVoxState.instance;
+/**
+ * Holds the un-composite tts object.
+ * @type {Object}
+ */
+ChromeVoxState.backgroundTts;
+
+/**
+ * @type {boolean}
+ */
+ ChromeVoxState.isReadingContinuously;
+
ChromeVoxState.prototype = {
/** @type {ChromeVoxMode} */
get mode() {
@@ -53,20 +64,6 @@ ChromeVoxState.prototype = {
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() {
return this.getCurrentRange();

Powered by Google App Engine
This is Rietveld 408576698