| Index: chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js b/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..21d0cb16b06429ac6c3771c4268d88afb217933a
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/chromevox/host/testing/mathjax.js
|
| @@ -0,0 +1,71 @@
|
| +// Copyright 2013 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;
|
|
|