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

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

Issue 656813002: Support running ChromeVox in uncompressed mode and compress ChromeVox next by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Address nits. Created 6 years, 2 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 b9d2bec72bd234e399d0325a5460e7584301fcd4..aaccf0636975fc27898cb1cda47da5c3c97f1fa9 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js
@@ -155,16 +155,13 @@ cvox.ChromeVoxBackground.prototype.init = function() {
/**
* Inject ChromeVox into a tab.
* @param {Array.<Tab>} tabs The tab where ChromeVox scripts should be injected.
- * @param {boolean=} opt_forceCompiled forces compiled ChromeVox to be injected;
- * defaults to Closure's compiled flag.
*/
-cvox.ChromeVoxBackground.prototype.injectChromeVoxIntoTabs =
- function(tabs, opt_forceCompiled) {
+cvox.ChromeVoxBackground.prototype.injectChromeVoxIntoTabs = function(tabs) {
var listOfFiles;
// These lists of files must match the content_scripts section in
// the manifest files.
- if (COMPILED || opt_forceCompiled) {
+ if (COMPILED) {
listOfFiles = ['chromeVoxChromePageScript.js'];
} else {
listOfFiles = [

Powered by Google App Engine
This is Rietveld 408576698