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

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

Issue 2092743002: Revert of 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/chromevox/background/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
index 981041334a9f0402bc0b5bdab41f7e0a99acb358..bfe563eb19a1e4c2efcd4086a17d8ad5199eddde 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
@@ -8,7 +8,6 @@
goog.provide('cvox.ChromeVoxBackground');
-goog.require('ChromeVoxState');
goog.require('Msgs');
goog.require('cvox.AbstractEarcons');
goog.require('cvox.BrailleBackground');
@@ -432,6 +431,9 @@
console.log(err);
}
break;
+ case 'next':
+ global.backgroundObj.onGotCommand(action, true);
+ break;
}
}, this));
};
@@ -482,7 +484,7 @@
var background = new cvox.ChromeVoxBackground();
background.init();
window['speak'] = goog.bind(background.tts.speak, background.tts);
- ChromeVoxState.backgroundTts = background.backgroundTts_;
+ global.backgroundTts = background.backgroundTts_;
// Export the prefs object for access by the options page.
window['prefs'] = background.prefs;

Powered by Google App Engine
This is Rietveld 408576698