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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 rootWebArea, | 139 rootWebArea, |
140 rowHeader, | 140 rowHeader, |
141 row, | 141 row, |
142 ruby, | 142 ruby, |
143 ruler, | 143 ruler, |
144 svgRoot, | 144 svgRoot, |
145 scrollArea, | 145 scrollArea, |
146 scrollBar, | 146 scrollBar, |
147 seamlessWebArea, | 147 seamlessWebArea, |
148 search, | 148 search, |
| 149 searchBox, |
149 slider, | 150 slider, |
150 sliderThumb, | 151 sliderThumb, |
151 spinButtonPart, | 152 spinButtonPart, |
152 spinButton, | 153 spinButton, |
153 splitter, | 154 splitter, |
154 staticText, | 155 staticText, |
155 status, | 156 status, |
| 157 switch, |
156 tabGroup, | 158 tabGroup, |
157 tabList, | 159 tabList, |
158 tabPanel, | 160 tabPanel, |
159 tab, | 161 tab, |
160 tableHeaderContainer, | 162 tableHeaderContainer, |
161 table, | 163 table, |
162 textArea, | 164 textArea, |
163 textField, | 165 textField, |
164 time, | 166 time, |
165 timer, | 167 timer, |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 // tree with a placeholder root node; listen for the "loadComplete" event to | 485 // tree with a placeholder root node; listen for the "loadComplete" event to |
484 // get a notification that the tree has fully loaded (the previous root node | 486 // get a notification that the tree has fully loaded (the previous root node |
485 // reference will stop working at or before this point). | 487 // reference will stop working at or before this point). |
486 [nocompile] static void getTree(optional long tabId, RootCallback callback); | 488 [nocompile] static void getTree(optional long tabId, RootCallback callback); |
487 | 489 |
488 // Get the automation tree for the whole desktop which consists of all on | 490 // Get the automation tree for the whole desktop which consists of all on |
489 // screen views. Note this API is currently only supported on Chrome OS. | 491 // screen views. Note this API is currently only supported on Chrome OS. |
490 [nocompile] static void getDesktop(RootCallback callback); | 492 [nocompile] static void getDesktop(RootCallback callback); |
491 }; | 493 }; |
492 }; | 494 }; |
OLD | NEW |