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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 lineBreak, | 107 lineBreak, |
108 link, | 108 link, |
109 listBoxOption, | 109 listBoxOption, |
110 listBox, | 110 listBox, |
111 listItem, | 111 listItem, |
112 listMarker, | 112 listMarker, |
113 list, | 113 list, |
114 locationBar, | 114 locationBar, |
115 log, | 115 log, |
116 main, | 116 main, |
| 117 mark, |
117 marquee, | 118 marquee, |
118 math, | 119 math, |
119 menuBar, | 120 menuBar, |
120 menuButton, | 121 menuButton, |
121 menuItem, | 122 menuItem, |
122 menuItemCheckBox, | 123 menuItemCheckBox, |
123 menuItemRadio, | 124 menuItemRadio, |
124 menuListOption, | 125 menuListOption, |
125 menuListPopup, | 126 menuListPopup, |
126 menu, | 127 menu, |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 // Add a tree change observer. Tree change observers are static/global, they | 556 // Add a tree change observer. Tree change observers are static/global, they |
556 // listen to changes across all trees. | 557 // listen to changes across all trees. |
557 [nocompile] static void addTreeChangeObserver( | 558 [nocompile] static void addTreeChangeObserver( |
558 TreeChangeObserver observer); | 559 TreeChangeObserver observer); |
559 | 560 |
560 // Remove a tree change observer. | 561 // Remove a tree change observer. |
561 [nocompile] static void removeTreeChangeObserver( | 562 [nocompile] static void removeTreeChangeObserver( |
562 TreeChangeObserver observer); | 563 TreeChangeObserver observer); |
563 }; | 564 }; |
564 }; | 565 }; |
OLD | NEW |