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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 dateTime, | 93 dateTime, |
94 definition, | 94 definition, |
95 descriptionListDetail, | 95 descriptionListDetail, |
96 descriptionList, | 96 descriptionList, |
97 descriptionListTerm, | 97 descriptionListTerm, |
98 desktop, | 98 desktop, |
99 details, | 99 details, |
100 dialog, | 100 dialog, |
101 directory, | 101 directory, |
102 disclosureTriangle, | 102 disclosureTriangle, |
103 div, | |
104 document, | 103 document, |
105 embeddedObject, | 104 embeddedObject, |
106 feed, | 105 feed, |
107 figcaption, | 106 figcaption, |
108 figure, | 107 figure, |
109 footer, | 108 footer, |
110 form, | 109 form, |
| 110 genericContainer, |
111 grid, | 111 grid, |
112 group, | 112 group, |
113 heading, | 113 heading, |
114 iframe, | 114 iframe, |
115 iframePresentational, | 115 iframePresentational, |
116 ignored, | 116 ignored, |
117 imageMapLink, | 117 imageMapLink, |
118 imageMap, | 118 imageMap, |
119 image, | 119 image, |
120 inlineTextBox, | 120 inlineTextBox, |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 // Everything in the tree between the two node/offset pairs gets included | 805 // Everything in the tree between the two node/offset pairs gets included |
806 // in the selection. The anchor is where the user started the selection, | 806 // in the selection. The anchor is where the user started the selection, |
807 // while the focus is the point at which the selection gets extended | 807 // while the focus is the point at which the selection gets extended |
808 // e.g. when dragging with a mouse or using the keyboard. For nodes with | 808 // e.g. when dragging with a mouse or using the keyboard. For nodes with |
809 // the role staticText, the offset gives the character offset within | 809 // the role staticText, the offset gives the character offset within |
810 // the value where the selection starts or ends, respectively. | 810 // the value where the selection starts or ends, respectively. |
811 [nocompile] static void setDocumentSelection( | 811 [nocompile] static void setDocumentSelection( |
812 SetDocumentSelectionParams params); | 812 SetDocumentSelectionParams params); |
813 }; | 813 }; |
814 }; | 814 }; |
OLD | NEW |