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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 splitter, | 154 splitter, |
155 staticText, | 155 staticText, |
156 status, | 156 status, |
157 switch, | 157 switch, |
158 tabGroup, | 158 tabGroup, |
159 tabList, | 159 tabList, |
160 tabPanel, | 160 tabPanel, |
161 tab, | 161 tab, |
162 tableHeaderContainer, | 162 tableHeaderContainer, |
163 table, | 163 table, |
164 textArea, | |
165 textField, | 164 textField, |
166 time, | 165 time, |
167 timer, | 166 timer, |
168 titleBar, | 167 titleBar, |
169 toggleButton, | 168 toggleButton, |
170 toolbar, | 169 toolbar, |
171 treeGrid, | 170 treeGrid, |
172 treeItem, | 171 treeItem, |
173 tree, | 172 tree, |
174 unknown, | 173 unknown, |
(...skipping 14 matching lines...) Expand all Loading... |
189 enabled, // content only | 188 enabled, // content only |
190 expanded, | 189 expanded, |
191 focusable, | 190 focusable, |
192 focused, | 191 focused, |
193 haspopup, | 192 haspopup, |
194 horizontal, | 193 horizontal, |
195 hovered, | 194 hovered, |
196 indeterminate, | 195 indeterminate, |
197 invisible, | 196 invisible, |
198 linked, | 197 linked, |
| 198 multiline, |
199 multiselectable, | 199 multiselectable, |
200 offscreen, | 200 offscreen, |
201 pressed, | 201 pressed, |
202 protected, | 202 protected, |
203 readOnly, | 203 readOnly, |
204 required, | 204 required, |
205 selectable, | 205 selectable, |
206 selected, | 206 selected, |
207 vertical, | 207 vertical, |
208 visited | 208 visited |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 // Add a tree change observer. Tree change observers are static/global, they | 538 // Add a tree change observer. Tree change observers are static/global, they |
539 // listen to changes across all trees. | 539 // listen to changes across all trees. |
540 [nocompile] static void addTreeChangeObserver( | 540 [nocompile] static void addTreeChangeObserver( |
541 TreeChangeObserver observer); | 541 TreeChangeObserver observer); |
542 | 542 |
543 // Remove a tree change observer. | 543 // Remove a tree change observer. |
544 [nocompile] static void removeTreeChangeObserver( | 544 [nocompile] static void removeTreeChangeObserver( |
545 TreeChangeObserver observer); | 545 TreeChangeObserver observer); |
546 }; | 546 }; |
547 }; | 547 }; |
OLD | NEW |