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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/chrome/mathjax.js

Issue 2740793002: Minimize the Classic API and enable it for Next (Closed)
Patch Set: Minimize the Classic API and enable it for Next Created 3 years, 9 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/host/chrome/mathjax.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/mathjax.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/mathjax.js
index a9f41566cbadeb3b41672780206c387c48efe7b2..c08722b1261063a5c196a004794385449409df09 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/chrome/mathjax.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/mathjax.js
@@ -10,7 +10,6 @@
goog.provide('cvox.ChromeMathJax');
goog.require('cvox.AbstractMathJax');
-goog.require('cvox.ApiImplementation');
goog.require('cvox.ChromeVox');
goog.require('cvox.HostFactory');
goog.require('cvox.ScriptInstaller');
@@ -97,14 +96,6 @@ cvox.ChromeMathJax.prototype.retrieveCallback_ = function(idStr) {
*/
cvox.ChromeMathJax.prototype.init = function() {
window.addEventListener('message', goog.bind(this.portSetup, this), true);
- var scripts = new Array();
- scripts.push(cvox.ChromeVox.host.getFileSrc(
- 'chromevox/injected/mathjax_external_util.js'));
- scripts.push(cvox.ChromeVox.host.getFileSrc('chromevox/injected/mathjax.js'));
- scripts.push(cvox.ApiImplementation.siteSpecificScriptLoader);
- this.initialized_ = cvox.ScriptInstaller.installScript(
- scripts, 'mathjax', undefined,
- cvox.ApiImplementation.siteSpecificScriptBase);
};

Powered by Google App Engine
This is Rietveld 408576698