| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview Testing stub for MathJax. | 6 * @fileoverview Testing stub for MathJax. |
| 7 * | 7 * |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 goog.provide('cvox.TestMathJax'); | 10 goog.provide('cvox.TestMathJax'); |
| 11 | 11 |
| 12 goog.require('cvox.AbstractMathJax'); | 12 goog.require('cvox.AbstractMathJax'); |
| 13 goog.require('cvox.HostFactory'); | 13 goog.require('cvox.HostFactory'); |
| 14 | 14 |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * @constructor | 17 * @constructor |
| 18 * @extends {cvox.AbstractMathJax} | 18 * @extends {cvox.AbstractMathJax} |
| 19 */ | 19 */ |
| 20 cvox.TestMathJax = function() { | 20 cvox.TestMathJax = function() { |
| 21 goog.base(this); | 21 goog.base(this); |
| 22 }; | 22 }; |
| 23 goog.inherits(cvox.TestMathJax, cvox.AbstractMathJax); | 23 goog.inherits(cvox.TestMathJax, cvox.AbstractMathJax); |
| 24 | 24 |
| 25 | 25 |
| 26 /** | 26 /** |
| 27 * @override | 27 * @override |
| 28 */ | 28 */ |
| 29 cvox.TestMathJax.prototype.isMathjaxActive = function(callback) { }; | 29 cvox.TestMathJax.prototype.isMathjaxActive = function(callback) {}; |
| 30 | 30 |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * @override | 33 * @override |
| 34 */ | 34 */ |
| 35 cvox.TestMathJax.prototype.getAllJax = function(callback) { }; | 35 cvox.TestMathJax.prototype.getAllJax = function(callback) {}; |
| 36 | 36 |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * @override | 39 * @override |
| 40 */ | 40 */ |
| 41 cvox.TestMathJax.prototype.registerSignal = function( | 41 cvox.TestMathJax.prototype.registerSignal = function(callback, signal) {}; |
| 42 callback, signal) { }; | |
| 43 | 42 |
| 44 | 43 |
| 45 /** | 44 /** |
| 46 * @override | 45 * @override |
| 47 */ | 46 */ |
| 48 cvox.TestMathJax.prototype.injectScripts = function() { }; | 47 cvox.TestMathJax.prototype.injectScripts = function() {}; |
| 49 | 48 |
| 50 | 49 |
| 51 /** | 50 /** |
| 52 * @override | 51 * @override |
| 53 */ | 52 */ |
| 54 cvox.TestMathJax.prototype.configMediaWiki = function() { }; | 53 cvox.TestMathJax.prototype.configMediaWiki = function() {}; |
| 55 | 54 |
| 56 | 55 |
| 57 /** | 56 /** |
| 58 * @override | 57 * @override |
| 59 */ | 58 */ |
| 60 cvox.TestMathJax.prototype.getTex = function(callback, texNode) { }; | 59 cvox.TestMathJax.prototype.getTex = function(callback, texNode) {}; |
| 61 | 60 |
| 62 | 61 |
| 63 /** | 62 /** |
| 64 * @override | 63 * @override |
| 65 */ | 64 */ |
| 66 cvox.TestMathJax.prototype.getAsciiMath = function(callback, asciiMathNode) { }; | 65 cvox.TestMathJax.prototype.getAsciiMath = function(callback, asciiMathNode) {}; |
| 67 | 66 |
| 68 | 67 |
| 69 /** Export platform constructor. */ | 68 /** Export platform constructor. */ |
| 70 cvox.HostFactory.mathJaxConstructor = | 69 cvox.HostFactory.mathJaxConstructor = cvox.TestMathJax; |
| 71 cvox.TestMathJax; | |
| OLD | NEW |