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 // The <code>chrome.automation</code> API allows developers to access the | 5 // The <code>chrome.automation</code> API allows developers to access the |
6 // automation (accessibility) tree for the browser. The tree resembles the DOM | 6 // automation (accessibility) tree for the browser. The tree resembles the DOM |
7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be | 7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be |
8 // used to programmatically interact with a page by examining names, roles, and | 8 // used to programmatically interact with a page by examining names, roles, and |
9 // states, listening for events, and performing actions on nodes. | 9 // states, listening for events, and performing actions on nodes. |
10 [nocompile] namespace automation { | 10 [nocompile] namespace automation { |
(...skipping 21 matching lines...) Expand all Loading... |
32 liveRegionCreated, | 32 liveRegionCreated, |
33 liveRegionChanged, | 33 liveRegionChanged, |
34 loadComplete, | 34 loadComplete, |
35 locationChanged, | 35 locationChanged, |
36 menuEnd, | 36 menuEnd, |
37 menuListItemSelected, | 37 menuListItemSelected, |
38 menuListValueChanged, | 38 menuListValueChanged, |
39 menuPopupEnd, | 39 menuPopupEnd, |
40 menuPopupStart, | 40 menuPopupStart, |
41 menuStart, | 41 menuStart, |
| 42 mouseCanceled, |
| 43 mouseDragged, |
| 44 mouseMoved, |
| 45 mousePressed, |
| 46 mouseReleased, |
42 rowCollapsed, | 47 rowCollapsed, |
43 rowCountChanged, | 48 rowCountChanged, |
44 rowExpanded, | 49 rowExpanded, |
45 scrollPositionChanged, | 50 scrollPositionChanged, |
46 scrolledToAnchor, | 51 scrolledToAnchor, |
47 selectedChildrenChanged, | 52 selectedChildrenChanged, |
48 selection, | 53 selection, |
49 selectionAdd, | 54 selectionAdd, |
50 selectionRemove, | 55 selectionRemove, |
51 show, | 56 show, |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 // Everything in the tree between the two node/offset pairs gets included | 670 // Everything in the tree between the two node/offset pairs gets included |
666 // in the selection. The anchor is where the user started the selection, | 671 // in the selection. The anchor is where the user started the selection, |
667 // while the focus is the point at which the selection gets extended | 672 // while the focus is the point at which the selection gets extended |
668 // e.g. when dragging with a mouse or using the keyboard. For nodes with | 673 // e.g. when dragging with a mouse or using the keyboard. For nodes with |
669 // the role staticText, the offset gives the character offset within | 674 // the role staticText, the offset gives the character offset within |
670 // the value where the selection starts or ends, respectively. | 675 // the value where the selection starts or ends, respectively. |
671 [nocompile] static void setDocumentSelection( | 676 [nocompile] static void setDocumentSelection( |
672 SetDocumentSelectionParams params); | 677 SetDocumentSelectionParams params); |
673 }; | 678 }; |
674 }; | 679 }; |
OLD | NEW |