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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/chromevox.js

Issue 593133002: Refactor: remove a Chromevox abstract class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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 Defines a global object. The initialization of this 6 * @fileoverview Defines a global object. The initialization of this
7 * object happens in init.js. 7 * object happens in init.js.
8 * 8 *
9 */ 9 */
10 10
(...skipping 18 matching lines...) Expand all
29 '../host/interface/braille_interface.js', 29 '../host/interface/braille_interface.js',
30 ['cvox.BrailleInterface'], 30 ['cvox.BrailleInterface'],
31 []); 31 []);
32 32
33 goog.addDependency( 33 goog.addDependency(
34 '../host/interface/mathjax_interface.js', 34 '../host/interface/mathjax_interface.js',
35 ['cvox.MathJaxInterface'], 35 ['cvox.MathJaxInterface'],
36 []); 36 []);
37 37
38 goog.addDependency( 38 goog.addDependency(
39 '../host/interface/abstract_msgs.js', 39 '../chromevox/messages/msgs.js',
40 ['cvox.AbstractMsgs'], 40 ['cvox.Msgs'],
41 []); 41 []);
42 42
43 goog.addDependency( 43 goog.addDependency(
44 '../host/interface/abstract_earcons.js', 44 '../host/interface/abstract_earcons.js',
45 ['cvox.AbstractEarcons'], 45 ['cvox.AbstractEarcons'],
46 []); 46 []);
47 47
48 goog.addDependency( 48 goog.addDependency(
49 '../chromevox/common/key_sequence.js', 49 '../chromevox/common/key_sequence.js',
50 ['cvox.KeySequence'], 50 ['cvox.KeySequence'],
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 cvox.ChromeVox.tts; 90 cvox.ChromeVox.tts;
91 /** 91 /**
92 * @type {cvox.BrailleInterface} 92 * @type {cvox.BrailleInterface}
93 */ 93 */
94 cvox.ChromeVox.braille; 94 cvox.ChromeVox.braille;
95 /** 95 /**
96 * @type {cvox.MathJaxInterface} 96 * @type {cvox.MathJaxInterface}
97 */ 97 */
98 cvox.ChromeVox.mathJax; 98 cvox.ChromeVox.mathJax;
99 /** 99 /**
100 * @type {cvox.AbstractMsgs} 100 * @type {cvox.Msgs}
101 */ 101 */
102 cvox.ChromeVox.msgs = null; 102 cvox.ChromeVox.msgs = null;
103 /** 103 /**
104 * @type {boolean} 104 * @type {boolean}
105 */ 105 */
106 cvox.ChromeVox.isActive = true; 106 cvox.ChromeVox.isActive = true;
107 /** 107 /**
108 * @type {?string} 108 * @type {?string}
109 */ 109 */
110 cvox.ChromeVox.version = null; 110 cvox.ChromeVox.version = null;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 }; 263 };
264 264
265 /** 265 /**
266 * Shortcut for document.getElementById. 266 * Shortcut for document.getElementById.
267 * @param {string} id of the element. 267 * @param {string} id of the element.
268 * @return {HTMLElement} with the id. 268 * @return {HTMLElement} with the id.
269 */ 269 */
270 function $(id) { 270 function $(id) {
271 return document.getElementById(id); 271 return document.getElementById(id);
272 } 272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698