| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 descriptionList, | 94 descriptionList, |
| 95 descriptionListTerm, | 95 descriptionListTerm, |
| 96 desktop, | 96 desktop, |
| 97 details, | 97 details, |
| 98 dialog, | 98 dialog, |
| 99 directory, | 99 directory, |
| 100 disclosureTriangle, | 100 disclosureTriangle, |
| 101 div, | 101 div, |
| 102 document, | 102 document, |
| 103 embeddedObject, | 103 embeddedObject, |
| 104 feed, |
| 104 figcaption, | 105 figcaption, |
| 105 figure, | 106 figure, |
| 106 footer, | 107 footer, |
| 107 form, | 108 form, |
| 108 grid, | 109 grid, |
| 109 group, | 110 group, |
| 110 heading, | 111 heading, |
| 111 iframe, | 112 iframe, |
| 112 iframePresentational, | 113 iframePresentational, |
| 113 ignored, | 114 ignored, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 splitter, | 171 splitter, |
| 171 staticText, | 172 staticText, |
| 172 status, | 173 status, |
| 173 switch, | 174 switch, |
| 174 tabGroup, | 175 tabGroup, |
| 175 tabList, | 176 tabList, |
| 176 tabPanel, | 177 tabPanel, |
| 177 tab, | 178 tab, |
| 178 tableHeaderContainer, | 179 tableHeaderContainer, |
| 179 table, | 180 table, |
| 181 term, |
| 180 textField, | 182 textField, |
| 181 time, | 183 time, |
| 182 timer, | 184 timer, |
| 183 titleBar, | 185 titleBar, |
| 184 toggleButton, | 186 toggleButton, |
| 185 toolbar, | 187 toolbar, |
| 186 treeGrid, | 188 treeGrid, |
| 187 treeItem, | 189 treeItem, |
| 188 tree, | 190 tree, |
| 189 unknown, | 191 unknown, |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 // Everything in the tree between the two node/offset pairs gets included | 674 // Everything in the tree between the two node/offset pairs gets included |
| 673 // in the selection. The anchor is where the user started the selection, | 675 // in the selection. The anchor is where the user started the selection, |
| 674 // while the focus is the point at which the selection gets extended | 676 // while the focus is the point at which the selection gets extended |
| 675 // e.g. when dragging with a mouse or using the keyboard. For nodes with | 677 // e.g. when dragging with a mouse or using the keyboard. For nodes with |
| 676 // the role staticText, the offset gives the character offset within | 678 // the role staticText, the offset gives the character offset within |
| 677 // the value where the selection starts or ends, respectively. | 679 // the value where the selection starts or ends, respectively. |
| 678 [nocompile] static void setDocumentSelection( | 680 [nocompile] static void setDocumentSelection( |
| 679 SetDocumentSelectionParams params); | 681 SetDocumentSelectionParams params); |
| 680 }; | 682 }; |
| 681 }; | 683 }; |
| OLD | NEW |