| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 grid, | 94 grid, |
| 95 group, | 95 group, |
| 96 heading, | 96 heading, |
| 97 iframe, | 97 iframe, |
| 98 iframePresentational, | 98 iframePresentational, |
| 99 ignored, | 99 ignored, |
| 100 imageMapLink, | 100 imageMapLink, |
| 101 imageMap, | 101 imageMap, |
| 102 image, | 102 image, |
| 103 inlineTextBox, | 103 inlineTextBox, |
| 104 inputTime, |
| 104 labelText, | 105 labelText, |
| 105 legend, | 106 legend, |
| 106 lineBreak, | 107 lineBreak, |
| 107 link, | 108 link, |
| 108 listBoxOption, | 109 listBoxOption, |
| 109 listBox, | 110 listBox, |
| 110 listItem, | 111 listItem, |
| 111 listMarker, | 112 listMarker, |
| 112 list, | 113 list, |
| 113 locationBar, | 114 locationBar, |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 // Add a tree change observer. Tree change observers are static/global, they | 539 // Add a tree change observer. Tree change observers are static/global, they |
| 539 // listen to changes across all trees. | 540 // listen to changes across all trees. |
| 540 [nocompile] static void addTreeChangeObserver( | 541 [nocompile] static void addTreeChangeObserver( |
| 541 TreeChangeObserver observer); | 542 TreeChangeObserver observer); |
| 542 | 543 |
| 543 // Remove a tree change observer. | 544 // Remove a tree change observer. |
| 544 [nocompile] static void removeTreeChangeObserver( | 545 [nocompile] static void removeTreeChangeObserver( |
| 545 TreeChangeObserver observer); | 546 TreeChangeObserver observer); |
| 546 }; | 547 }; |
| 547 }; | 548 }; |
| OLD | NEW |