Chromium Code Reviews| 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..e2c10e8300b7c241dfefad587b912d2fed359872 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js |
| @@ -155,16 +155,14 @@ 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) { |
| + function(tabs) { |
| var listOfFiles; |
|
David Tseng
2014/10/14 23:10:11
I think this can now fit above.
|
| // 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 = [ |