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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 descriptionListDetail, | 78 descriptionListDetail, |
79 descriptionList, | 79 descriptionList, |
80 descriptionListTerm, | 80 descriptionListTerm, |
81 desktop, | 81 desktop, |
82 details, | 82 details, |
83 dialog, | 83 dialog, |
84 directory, | 84 directory, |
85 disclosureTriangle, | 85 disclosureTriangle, |
86 div, | 86 div, |
87 document, | 87 document, |
88 editableText, | |
89 embeddedObject, | 88 embeddedObject, |
90 figcaption, | 89 figcaption, |
91 figure, | 90 figure, |
92 footer, | 91 footer, |
93 form, | 92 form, |
94 grid, | 93 grid, |
95 group, | 94 group, |
96 growArea, | |
97 heading, | 95 heading, |
98 iframe, | 96 iframe, |
99 ignored, | 97 ignored, |
100 imageMapLink, | 98 imageMapLink, |
101 imageMap, | 99 imageMap, |
102 image, | 100 image, |
103 inlineTextBox, | 101 inlineTextBox, |
104 labelText, | 102 labelText, |
105 legend, | 103 legend, |
106 link, | 104 link, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 ruler, | 140 ruler, |
143 svgRoot, | 141 svgRoot, |
144 scrollArea, | 142 scrollArea, |
145 scrollBar, | 143 scrollBar, |
146 seamlessWebArea, | 144 seamlessWebArea, |
147 search, | 145 search, |
148 slider, | 146 slider, |
149 sliderThumb, | 147 sliderThumb, |
150 spinButtonPart, | 148 spinButtonPart, |
151 spinButton, | 149 spinButton, |
152 splitGroup, | |
153 splitter, | 150 splitter, |
154 staticText, | 151 staticText, |
155 status, | 152 status, |
156 tabGroup, | 153 tabGroup, |
157 tabList, | 154 tabList, |
158 tabPanel, | 155 tabPanel, |
159 tab, | 156 tab, |
160 tableHeaderContainer, | 157 tableHeaderContainer, |
161 table, | 158 table, |
162 textArea, | 159 textArea, |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 // tree with a placeholder root node; listen for the "loadComplete" event to | 479 // tree with a placeholder root node; listen for the "loadComplete" event to |
483 // get a notification that the tree has fully loaded (the previous root node | 480 // get a notification that the tree has fully loaded (the previous root node |
484 // reference will stop working at or before this point). | 481 // reference will stop working at or before this point). |
485 [nocompile] static void getTree(optional long tabId, RootCallback callback); | 482 [nocompile] static void getTree(optional long tabId, RootCallback callback); |
486 | 483 |
487 // Get the automation tree for the whole desktop which consists of all on | 484 // Get the automation tree for the whole desktop which consists of all on |
488 // screen views. Note this API is currently only supported on Chrome OS. | 485 // screen views. Note this API is currently only supported on Chrome OS. |
489 [nocompile] static void getDesktop(RootCallback callback); | 486 [nocompile] static void getDesktop(RootCallback callback); |
490 }; | 487 }; |
491 }; | 488 }; |
OLD | NEW |