| 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 Definitions for the Chromium extensions API used by ChromeVox. | 7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. |
| 8 * | 8 * |
| 9 * @externs | 9 * @externs |
| 10 */ | 10 */ |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 * state: (Object|undefined), | 280 * state: (Object|undefined), |
| 281 * attributes: (Object|undefined) | 281 * attributes: (Object|undefined) |
| 282 * }} | 282 * }} |
| 283 */ | 283 */ |
| 284 chrome.automation.FindParams; | 284 chrome.automation.FindParams; |
| 285 | 285 |
| 286 /** | 286 /** |
| 287 * @constructor | 287 * @constructor |
| 288 * @param {chrome.automation.EventType} type | 288 * @param {chrome.automation.EventType} type |
| 289 * @param {chrome.automation.AutomationNode} node | 289 * @param {chrome.automation.AutomationNode} node |
| 290 * @param {string} eventFrom |
| 290 */ | 291 */ |
| 291 chrome.automation.AutomationEvent = function(type, node) {}; | 292 chrome.automation.AutomationEvent = function(type, node, eventFrom) {}; |
| 292 | 293 |
| 293 /** | 294 /** |
| 294 * @type {!chrome.automation.AutomationNode} | 295 * @type {!chrome.automation.AutomationNode} |
| 295 */ | 296 */ |
| 296 chrome.automation.AutomationEvent.prototype.target; | 297 chrome.automation.AutomationEvent.prototype.target; |
| 297 | 298 |
| 298 /** | 299 /** |
| 299 * @type {!chrome.automation.EventType} | 300 * @type {!chrome.automation.EventType} |
| 300 */ | 301 */ |
| 301 chrome.automation.AutomationEvent.prototype.type; | 302 chrome.automation.AutomationEvent.prototype.type; |
| 302 | 303 |
| 304 /** |
| 305 * @type {string} |
| 306 */ |
| 307 chrome.automation.AutomationEvent.prototype.eventFrom; |
| 308 |
| 303 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; | 309 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; |
| 304 | 310 |
| 305 /** | 311 /** |
| 306 * @typedef {{ | 312 * @typedef {{ |
| 307 * target: chrome.automation.AutomationNode, | 313 * target: chrome.automation.AutomationNode, |
| 308 * type: !chrome.automation.TreeChangeType | 314 * type: !chrome.automation.TreeChangeType |
| 309 * }} | 315 * }} |
| 310 */ | 316 */ |
| 311 chrome.automation.TreeChange; | 317 chrome.automation.TreeChange; |
| 312 | 318 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 */ | 670 */ |
| 665 chrome.automation.AutomationRootNode.prototype.focusObject; | 671 chrome.automation.AutomationRootNode.prototype.focusObject; |
| 666 | 672 |
| 667 /** | 673 /** |
| 668 * @type {number} | 674 * @type {number} |
| 669 */ | 675 */ |
| 670 chrome.automation.AutomationRootNode.prototype.focusOffset; | 676 chrome.automation.AutomationRootNode.prototype.focusOffset; |
| 671 | 677 |
| 672 /** @type {function() : !Object} */ | 678 /** @type {function() : !Object} */ |
| 673 chrome.app.getDetails; | 679 chrome.app.getDetails; |
| OLD | NEW |