summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js')
-rw-r--r--chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js71
1 files changed, 71 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js b/chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
new file mode 100644
index 00000000000..2f9e329284e
--- /dev/null
+++ b/chromium/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
@@ -0,0 +1,71 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Testing stub for MathJax.
+ *
+ */
+
+goog.provide('cvox.TestMathJax');
+
+goog.require('cvox.AbstractMathJax');
+goog.require('cvox.HostFactory');
+
+
+/**
+ * @constructor
+ * @extends {cvox.AbstractMathJax}
+ */
+cvox.TestMathJax = function() {
+ goog.base(this);
+};
+goog.inherits(cvox.TestMathJax, cvox.AbstractMathJax);
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.isMathjaxActive = function(callback) { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.getAllJax = function(callback) { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.registerSignal = function(
+ callback, signal) { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.injectScripts = function() { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.configMediaWiki = function() { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.getTex = function(callback, texNode) { };
+
+
+/**
+ * @override
+ */
+cvox.TestMathJax.prototype.getAsciiMath = function(callback, asciiMathNode) { };
+
+
+/** Export platform constructor. */
+cvox.HostFactory.mathJaxConstructor =
+ cvox.TestMathJax;