Chromium Code Reviews| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 138 menuButton, | 138 menuButton, |
| 139 menuItem, | 139 menuItem, |
| 140 menuItemCheckBox, | 140 menuItemCheckBox, |
| 141 menuItemRadio, | 141 menuItemRadio, |
| 142 menuListOption, | 142 menuListOption, |
| 143 menuListPopup, | 143 menuListPopup, |
| 144 menu, | 144 menu, |
| 145 meter, | 145 meter, |
| 146 navigation, | 146 navigation, |
| 147 note, | 147 note, |
| 148 notification, | |
|
yawano
2017/06/02 04:56:51
Please update the extern file by running the scrip
| |
| 148 outline, | 149 outline, |
| 149 pane, | 150 pane, |
| 150 paragraph, | 151 paragraph, |
| 151 popUpButton, | 152 popUpButton, |
| 152 pre, | 153 pre, |
| 153 presentational, | 154 presentational, |
| 154 progressIndicator, | 155 progressIndicator, |
| 155 radioButton, | 156 radioButton, |
| 156 radioGroup, | 157 radioGroup, |
| 157 region, | 158 region, |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 805 // Everything in the tree between the two node/offset pairs gets included | 806 // 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, | 807 // 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 | 808 // 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 | 809 // 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 | 810 // the role staticText, the offset gives the character offset within |
| 810 // the value where the selection starts or ends, respectively. | 811 // the value where the selection starts or ends, respectively. |
| 811 [nocompile] static void setDocumentSelection( | 812 [nocompile] static void setDocumentSelection( |
| 812 SetDocumentSelectionParams params); | 813 SetDocumentSelectionParams params); |
| 813 }; | 814 }; |
| 814 }; | 815 }; |
| OLD | NEW |