| 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 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| 273 |
| 274 /** |
| 275 * @param {Array} tabs |
| 276 * @param {boolean=} opt_forceCompile |
| 277 */ |
| 278 cvox.ChromeVox.injectChromeVoxIntoTabs = function(tabs, opt_forceCompile) {}; |
| OLD | NEW |