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}} | |
Peter Lundblad
2015/11/20 11:15:03
Return value should be {({top: number, left: numbe
dmazzoni
2015/11/20 23:35:14
Done.
| |
441 */ | |
442 chrome.automation.AutomationNode.prototype.boundsForRange = | |
443 function(start, end) {}; | |
444 | |
445 | |
446 /** | |
438 * @param {chrome.automation.EventType} eventType | 447 * @param {chrome.automation.EventType} eventType |
439 * @param {function(!chrome.automation.AutomationEvent) : void} callback | 448 * @param {function(!chrome.automation.AutomationEvent) : void} callback |
440 * @param {boolean} capture | 449 * @param {boolean} capture |
441 */ | 450 */ |
442 chrome.automation.AutomationNode.prototype.addEventListener = | 451 chrome.automation.AutomationNode.prototype.addEventListener = |
443 function(eventType, callback, capture) {}; | 452 function(eventType, callback, capture) {}; |
444 | 453 |
445 | 454 |
446 /** | 455 /** |
447 * @param {chrome.automation.EventType} eventType | 456 * @param {chrome.automation.EventType} eventType |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 | 521 |
513 /** | 522 /** |
514 * @param {Object} findParams | 523 * @param {Object} findParams |
515 */ | 524 */ |
516 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; | 525 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; |
517 | 526 |
518 /** | 527 /** |
519 * @type {string} | 528 * @type {string} |
520 */ | 529 */ |
521 chrome.automation.AutomationNode.prototype.inputType; | 530 chrome.automation.AutomationNode.prototype.inputType; |
OLD | NEW |