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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 {chrome.automation.EventType} eventType | 438 * @param {chrome.automation.EventType} eventType |
439 * @param {function(chrome.automation.AutomationNode) : void} callback | 439 * @param {function(!chrome.automation.AutomationEvent) : void} callback |
440 * @param {boolean} capture | 440 * @param {boolean} capture |
441 */ | 441 */ |
442 chrome.automation.AutomationNode.prototype.addEventListener = | 442 chrome.automation.AutomationNode.prototype.addEventListener = |
443 function(eventType, callback, capture) {}; | 443 function(eventType, callback, capture) {}; |
444 | 444 |
445 | 445 |
446 /** | 446 /** |
447 * @param {chrome.automation.EventType} eventType | 447 * @param {chrome.automation.EventType} eventType |
448 * @param {function(chrome.automation.AutomationNode) : void} callback | 448 * @param {function(chrome.automation.AutomationNode) : void} callback |
449 * @param {boolean} capture | 449 * @param {boolean} capture |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 chrome.automation.AutomationNode.prototype.containerLiveAtomic; | 507 chrome.automation.AutomationNode.prototype.containerLiveAtomic; |
508 | 508 |
509 /** @type {boolean} */ | 509 /** @type {boolean} */ |
510 chrome.automation.AutomationNode.prototype.containerLiveBusy; | 510 chrome.automation.AutomationNode.prototype.containerLiveBusy; |
511 | 511 |
512 | 512 |
513 /** | 513 /** |
514 * @param {Object} findParams | 514 * @param {Object} findParams |
515 */ | 515 */ |
516 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; | 516 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; |
OLD | NEW |