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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 popUpButton, | 135 popUpButton, |
136 pre, | 136 pre, |
137 presentational, | 137 presentational, |
138 progressIndicator, | 138 progressIndicator, |
139 radioButton, | 139 radioButton, |
140 radioGroup, | 140 radioGroup, |
141 region, | 141 region, |
142 rootWebArea, | 142 rootWebArea, |
143 rowHeader, | 143 rowHeader, |
144 row, | 144 row, |
| 145 ruby, |
145 rulerMarker, | 146 rulerMarker, |
146 ruler, | 147 ruler, |
147 svgRoot, | 148 svgRoot, |
148 scrollArea, | 149 scrollArea, |
149 scrollBar, | 150 scrollBar, |
150 seamlessWebArea, | 151 seamlessWebArea, |
151 search, | 152 search, |
152 sheet, | 153 sheet, |
153 slider, | 154 slider, |
154 sliderThumb, | 155 sliderThumb, |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 // tree with a placeholder root node; listen for the "loadComplete" event to | 354 // tree with a placeholder root node; listen for the "loadComplete" event to |
354 // get a notification that the tree has fully loaded (the previous root node | 355 // get a notification that the tree has fully loaded (the previous root node |
355 // reference will stop working at or before this point). | 356 // reference will stop working at or before this point). |
356 [nocompile] static void getTree(optional long tabId, RootCallback callback); | 357 [nocompile] static void getTree(optional long tabId, RootCallback callback); |
357 | 358 |
358 // Get the automation tree for the whole desktop which consists of all on | 359 // Get the automation tree for the whole desktop which consists of all on |
359 // screen views. Note this API is currently only supported on Chrome OS. | 360 // screen views. Note this API is currently only supported on Chrome OS. |
360 [nocompile] static void getDesktop(RootCallback callback); | 361 [nocompile] static void getDesktop(RootCallback callback); |
361 }; | 362 }; |
362 }; | 363 }; |
OLD | NEW |