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