OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file was generated by: |
| 6 // tools/json_schema_compiler/compiler.py -g externs |
| 7 // chrome/common/extensions/api/automation.idl |
| 8 // |
| 9 // Further edits were applied by hand due to bugs / limitations in |
| 10 // json_schema_compiler. |
| 11 // |
| 12 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
5 | 13 |
6 /** | 14 /** @fileoverview Externs generated from namespace: automation */ |
7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. | |
8 * | |
9 * @externs | |
10 */ | |
11 | |
12 | |
13 // TODO: Move these to //third_party/closure_compiler/externs. | |
14 | |
15 // Begin auto generated externs; do not edit. | |
16 // The following was generated from: | |
17 // | |
18 // python tools/json_schema_compiler/compiler.py | |
19 // -g externs | |
20 // chrome/common/extensions/api/automation.idl | |
21 | 15 |
22 /** | 16 /** |
23 * @const | 17 * @const |
24 */ | 18 */ |
25 chrome.automation = {}; | 19 chrome.automation = {}; |
26 | 20 |
27 /** | 21 /** |
28 * @enum {string} | 22 * @enum {string} |
29 */ | 23 */ |
30 chrome.automation.EventType = { | 24 chrome.automation.EventType = { |
(...skipping 13 matching lines...) Expand all Loading... |
44 layoutComplete: '', | 38 layoutComplete: '', |
45 liveRegionChanged: '', | 39 liveRegionChanged: '', |
46 loadComplete: '', | 40 loadComplete: '', |
47 locationChanged: '', | 41 locationChanged: '', |
48 menuEnd: '', | 42 menuEnd: '', |
49 menuListItemSelected: '', | 43 menuListItemSelected: '', |
50 menuListValueChanged: '', | 44 menuListValueChanged: '', |
51 menuPopupEnd: '', | 45 menuPopupEnd: '', |
52 menuPopupStart: '', | 46 menuPopupStart: '', |
53 menuStart: '', | 47 menuStart: '', |
| 48 mouseCanceled: '', |
| 49 mouseDragged: '', |
| 50 mouseMoved: '', |
| 51 mousePressed: '', |
| 52 mouseReleased: '', |
54 rowCollapsed: '', | 53 rowCollapsed: '', |
55 rowCountChanged: '', | 54 rowCountChanged: '', |
56 rowExpanded: '', | 55 rowExpanded: '', |
57 scrollPositionChanged: '', | 56 scrollPositionChanged: '', |
58 scrolledToAnchor: '', | 57 scrolledToAnchor: '', |
59 selectedChildrenChanged: '', | 58 selectedChildrenChanged: '', |
60 selection: '', | 59 selection: '', |
61 selectionAdd: '', | 60 selectionAdd: '', |
62 selectionRemove: '', | 61 selectionRemove: '', |
63 show: '', | 62 show: '', |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 /** | 298 /** |
300 * @type {!chrome.automation.EventType} | 299 * @type {!chrome.automation.EventType} |
301 */ | 300 */ |
302 chrome.automation.AutomationEvent.prototype.type; | 301 chrome.automation.AutomationEvent.prototype.type; |
303 | 302 |
304 /** | 303 /** |
305 * @type {string} | 304 * @type {string} |
306 */ | 305 */ |
307 chrome.automation.AutomationEvent.prototype.eventFrom; | 306 chrome.automation.AutomationEvent.prototype.eventFrom; |
308 | 307 |
| 308 /** |
| 309 * @type {number} |
| 310 */ |
| 311 chrome.automation.AutomationEvent.prototype.mouseX; |
| 312 |
| 313 /** |
| 314 * @type {number} |
| 315 */ |
| 316 chrome.automation.AutomationEvent.prototype.mouseY; |
| 317 |
309 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; | 318 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; |
310 | 319 |
311 /** | 320 /** |
312 * @typedef {{ | 321 * @typedef {{ |
313 * target: chrome.automation.AutomationNode, | 322 * target: chrome.automation.AutomationNode, |
314 * type: !chrome.automation.TreeChangeType | 323 * type: !chrome.automation.TreeChangeType |
315 * }} | 324 * }} |
316 */ | 325 */ |
317 chrome.automation.TreeChange; | 326 chrome.automation.TreeChange; |
318 | 327 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 | 688 |
680 /** | 689 /** |
681 * @type {chrome.automation.AutomationNode} | 690 * @type {chrome.automation.AutomationNode} |
682 */ | 691 */ |
683 chrome.automation.AutomationRootNode.prototype.focusObject; | 692 chrome.automation.AutomationRootNode.prototype.focusObject; |
684 | 693 |
685 /** | 694 /** |
686 * @type {number} | 695 * @type {number} |
687 */ | 696 */ |
688 chrome.automation.AutomationRootNode.prototype.focusOffset; | 697 chrome.automation.AutomationRootNode.prototype.focusOffset; |
689 | |
690 /** @type {function() : !Object} */ | |
691 chrome.app.getDetails; | |
OLD | NEW |