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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 locationBar, | 113 locationBar, |
114 log, | 114 log, |
115 main, | 115 main, |
116 marquee, | 116 marquee, |
117 mathElement, | 117 mathElement, |
118 math, | 118 math, |
119 matte, | 119 matte, |
120 menuBar, | 120 menuBar, |
121 menuButton, | 121 menuButton, |
122 menuItem, | 122 menuItem, |
| 123 menuItemCheckBox, |
| 124 menuItemRadio, |
123 menuListOption, | 125 menuListOption, |
124 menuListPopup, | 126 menuListPopup, |
125 menu, | 127 menu, |
126 navigation, | 128 navigation, |
127 note, | 129 note, |
128 outline, | 130 outline, |
129 pane, | 131 pane, |
130 paragraph, | 132 paragraph, |
131 popUpButton, | 133 popUpButton, |
132 presentational, | 134 presentational, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // tree with a placeholder root node; listen for the "loadComplete" event to | 324 // tree with a placeholder root node; listen for the "loadComplete" event to |
323 // get a notification that the tree has fully loaded (the previous root node | 325 // get a notification that the tree has fully loaded (the previous root node |
324 // reference will stop working at or before this point). | 326 // reference will stop working at or before this point). |
325 [nocompile] static void getTree(optional long tabId, RootCallback callback); | 327 [nocompile] static void getTree(optional long tabId, RootCallback callback); |
326 | 328 |
327 // Get the automation tree for the whole desktop which consists of all on | 329 // Get the automation tree for the whole desktop which consists of all on |
328 // screen views. Note this API is currently only supported on Chrome OS. | 330 // screen views. Note this API is currently only supported on Chrome OS. |
329 [nocompile] static void getDesktop(RootCallback callback); | 331 [nocompile] static void getDesktop(RootCallback callback); |
330 }; | 332 }; |
331 }; | 333 }; |
OLD | NEW |