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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 * name: string, | 1233 * name: string, |
1234 * value: string, | 1234 * value: string, |
1235 * wordStarts: Array.<number>, | 1235 * wordStarts: Array.<number>, |
1236 * wordEnds: Array.<number> | 1236 * wordEnds: Array.<number> |
1237 * }} | 1237 * }} |
1238 */ | 1238 */ |
1239 chrome.automation.AutomationNode.prototype.attributes; | 1239 chrome.automation.AutomationNode.prototype.attributes; |
1240 | 1240 |
1241 | 1241 |
1242 /** | 1242 /** |
| 1243 * @type {!chrome.automation.AutomationNode} |
| 1244 */ |
| 1245 chrome.automation.AutomationNode.prototype.root; |
| 1246 |
| 1247 |
| 1248 /** |
1243 * @return {chrome.automation.AutomationNode} | 1249 * @return {chrome.automation.AutomationNode} |
1244 */ | 1250 */ |
1245 chrome.automation.AutomationNode.prototype.firstChild = function() {}; | 1251 chrome.automation.AutomationNode.prototype.firstChild = function() {}; |
1246 | 1252 |
1247 | 1253 |
1248 /** | 1254 /** |
1249 * @return {chrome.automation.AutomationNode} | 1255 * @return {chrome.automation.AutomationNode} |
1250 */ | 1256 */ |
1251 chrome.automation.AutomationNode.prototype.lastChild = function() {}; | 1257 chrome.automation.AutomationNode.prototype.lastChild = function() {}; |
1252 | 1258 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1292 | 1298 |
1293 /** | 1299 /** |
1294 * @param {chrome.automation.EventType} eventType | 1300 * @param {chrome.automation.EventType} eventType |
1295 * @param {function(chrome.automation.AutomationNode) : void} callback | 1301 * @param {function(chrome.automation.AutomationNode) : void} callback |
1296 * @param {boolean} capture | 1302 * @param {boolean} capture |
1297 */ | 1303 */ |
1298 chrome.automation.AutomationNode.prototype.removeEventListener = | 1304 chrome.automation.AutomationNode.prototype.removeEventListener = |
1299 function(eventType, callback, capture) {}; | 1305 function(eventType, callback, capture) {}; |
1300 | 1306 |
1301 | 1307 |
| 1308 chrome.automation.AutomationNode.prototype.focus = function() {}; |
| 1309 |
| 1310 |
1302 /** | 1311 /** |
1303 * @param {function(chrome.automation.AutomationNode)} callback | 1312 * @param {function(chrome.automation.AutomationNode)} callback |
1304 */ | 1313 */ |
1305 chrome.automation.getDesktop = function(callback) {}; | 1314 chrome.automation.getDesktop = function(callback) {}; |
1306 | 1315 |
1307 | 1316 |
1308 /** | 1317 /** |
1309 * @param {function(chrome.automation.AutomationNode)} callback | 1318 * @param {function(chrome.automation.AutomationNode)} callback |
1310 */ | 1319 */ |
1311 chrome.automation.getTree = function(callback) {}; | 1320 chrome.automation.getTree = function(callback) {}; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1518 pressed: 'pressed', | 1527 pressed: 'pressed', |
1519 protected: 'protected', | 1528 protected: 'protected', |
1520 readOnly: 'readOnly', | 1529 readOnly: 'readOnly', |
1521 required: 'required', | 1530 required: 'required', |
1522 selectable: 'selectable', | 1531 selectable: 'selectable', |
1523 selected: 'selected', | 1532 selected: 'selected', |
1524 vertical: 'vertical', | 1533 vertical: 'vertical', |
1525 visited: 'visited' | 1534 visited: 'visited' |
1526 }; | 1535 }; |
1527 // End auto generated externs; do not edit. | 1536 // End auto generated externs; do not edit. |
OLD | NEW |