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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 chrome.automation.AutomationNode.prototype.children; | 428 chrome.automation.AutomationNode.prototype.children; |
429 | 429 |
430 | 430 |
431 /** | 431 /** |
432 * @type {{top: number, left: number, height: number, width: number}} | 432 * @type {{top: number, left: number, height: number, width: number}} |
433 */ | 433 */ |
434 chrome.automation.AutomationNode.prototype.location; | 434 chrome.automation.AutomationNode.prototype.location; |
435 | 435 |
436 | 436 |
437 /** | 437 /** |
| 438 * @param {number} start |
| 439 * @param {number} end |
| 440 * @return {({top: number, left: number, height: number, width: number}) |
| 441 * |undefined} |
| 442 */ |
| 443 chrome.automation.AutomationNode.prototype.boundsForRange = |
| 444 function(start, end) {}; |
| 445 |
| 446 |
| 447 /** |
438 * @param {chrome.automation.EventType} eventType | 448 * @param {chrome.automation.EventType} eventType |
439 * @param {function(!chrome.automation.AutomationEvent) : void} callback | 449 * @param {function(!chrome.automation.AutomationEvent) : void} callback |
440 * @param {boolean} capture | 450 * @param {boolean} capture |
441 */ | 451 */ |
442 chrome.automation.AutomationNode.prototype.addEventListener = | 452 chrome.automation.AutomationNode.prototype.addEventListener = |
443 function(eventType, callback, capture) {}; | 453 function(eventType, callback, capture) {}; |
444 | 454 |
445 | 455 |
446 /** | 456 /** |
447 * @param {chrome.automation.EventType} eventType | 457 * @param {chrome.automation.EventType} eventType |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 | 522 |
513 /** | 523 /** |
514 * @param {Object} findParams | 524 * @param {Object} findParams |
515 */ | 525 */ |
516 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; | 526 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; |
517 | 527 |
518 /** | 528 /** |
519 * @type {string} | 529 * @type {string} |
520 */ | 530 */ |
521 chrome.automation.AutomationNode.prototype.inputType; | 531 chrome.automation.AutomationNode.prototype.inputType; |
OLD | NEW |