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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 * @typedef {{ | 278 * @typedef {{ |
279 * role: (!chrome.automation.RoleType|undefined), | 279 * role: (!chrome.automation.RoleType|undefined), |
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 |
| 289 * @param {chrome.automation.AutomationNode} node |
288 */ | 290 */ |
289 chrome.automation.AutomationEvent = function() {}; | 291 chrome.automation.AutomationEvent = function(type, node) {}; |
290 | 292 |
291 /** | 293 /** |
292 * @type {!chrome.automation.AutomationNode} | 294 * @type {!chrome.automation.AutomationNode} |
293 */ | 295 */ |
294 chrome.automation.AutomationEvent.prototype.target; | 296 chrome.automation.AutomationEvent.prototype.target; |
295 | 297 |
296 /** | 298 /** |
297 * @type {!chrome.automation.EventType} | 299 * @type {!chrome.automation.EventType} |
298 */ | 300 */ |
299 chrome.automation.AutomationEvent.prototype.type; | 301 chrome.automation.AutomationEvent.prototype.type; |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 /** | 598 /** |
597 * @type {(Array<number>|undefined)} | 599 * @type {(Array<number>|undefined)} |
598 */ | 600 */ |
599 chrome.automation.AutomationNode.prototype.lineBreaks; | 601 chrome.automation.AutomationNode.prototype.lineBreaks; |
600 | 602 |
601 /** | 603 /** |
602 * @type {(number|undefined)} | 604 * @type {(number|undefined)} |
603 */ | 605 */ |
604 chrome.automation.focusOffset; | 606 chrome.automation.focusOffset; |
605 | 607 |
| 608 /** |
| 609 * @type {(chrome.automation.AutomationNode|undefined)} |
| 610 */ |
| 611 chrome.automation.AutomationNode.prototype.activeDescendant; |
| 612 |
606 /** @type {function() : !Object} */ | 613 /** @type {function() : !Object} */ |
607 chrome.app.getDetails; | 614 chrome.app.getDetails; |
OLD | NEW |