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 /** | 6 /** |
7 * @fileoverview A host factory. This factory allows us to decouple the | 7 * @fileoverview A host factory. This factory allows us to decouple the |
8 * cvox.Host|Tts|... creatation from the main ChromeVox code. | 8 * cvox.Host|Tts|... creatation from the main ChromeVox code. |
9 */ | 9 */ |
10 | 10 |
11 goog.provide('cvox.HostFactory'); | 11 goog.provide('cvox.HostFactory'); |
12 | 12 |
13 goog.require('cvox.AbstractBraille'); | |
14 goog.require('cvox.AbstractEarcons'); | 13 goog.require('cvox.AbstractEarcons'); |
15 goog.require('cvox.AbstractHost'); | 14 goog.require('cvox.AbstractHost'); |
16 goog.require('cvox.AbstractMathJax'); | 15 goog.require('cvox.AbstractMathJax'); |
17 goog.require('cvox.AbstractTts'); | 16 goog.require('cvox.AbstractTts'); |
18 | 17 |
19 | 18 |
20 /** | 19 /** |
21 * @constructor | 20 * @constructor |
22 */ | 21 */ |
23 cvox.HostFactory = function() {}; | 22 cvox.HostFactory = function() {}; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 /** | 79 /** |
81 * @type {function (new:cvox.AbstractEarcons)} | 80 * @type {function (new:cvox.AbstractEarcons)} |
82 */ | 81 */ |
83 cvox.HostFactory.earconsConstructor; | 82 cvox.HostFactory.earconsConstructor; |
84 | 83 |
85 | 84 |
86 /** | 85 /** |
87 * @type {function (new:cvox.AbstractMathJax)} | 86 * @type {function (new:cvox.AbstractMathJax)} |
88 */ | 87 */ |
89 cvox.HostFactory.mathJaxConstructor; | 88 cvox.HostFactory.mathJaxConstructor; |
OLD | NEW |