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 20 matching lines...) Expand all Loading... |
31 liveRegionCreated, | 31 liveRegionCreated, |
32 liveRegionChanged, | 32 liveRegionChanged, |
33 loadComplete, | 33 loadComplete, |
34 locationChanged, | 34 locationChanged, |
35 menuEnd, | 35 menuEnd, |
36 menuListItemSelected, | 36 menuListItemSelected, |
37 menuListValueChanged, | 37 menuListValueChanged, |
38 menuPopupEnd, | 38 menuPopupEnd, |
39 menuPopupStart, | 39 menuPopupStart, |
40 menuStart, | 40 menuStart, |
| 41 mouseCanceled, |
| 42 mouseDragged, |
| 43 mouseMoved, |
| 44 mousePressed, |
| 45 mouseReleased, |
41 rowCollapsed, | 46 rowCollapsed, |
42 rowCountChanged, | 47 rowCountChanged, |
43 rowExpanded, | 48 rowExpanded, |
44 scrollPositionChanged, | 49 scrollPositionChanged, |
45 scrolledToAnchor, | 50 scrolledToAnchor, |
46 selectedChildrenChanged, | 51 selectedChildrenChanged, |
47 selection, | 52 selection, |
48 selectionAdd, | 53 selectionAdd, |
49 selectionRemove, | 54 selectionRemove, |
50 show, | 55 show, |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 // Everything in the tree between the two node/offset pairs gets included | 664 // Everything in the tree between the two node/offset pairs gets included |
660 // in the selection. The anchor is where the user started the selection, | 665 // in the selection. The anchor is where the user started the selection, |
661 // while the focus is the point at which the selection gets extended | 666 // while the focus is the point at which the selection gets extended |
662 // e.g. when dragging with a mouse or using the keyboard. For nodes with | 667 // e.g. when dragging with a mouse or using the keyboard. For nodes with |
663 // the role staticText, the offset gives the character offset within | 668 // the role staticText, the offset gives the character offset within |
664 // the value where the selection starts or ends, respectively. | 669 // the value where the selection starts or ends, respectively. |
665 [nocompile] static void setDocumentSelection( | 670 [nocompile] static void setDocumentSelection( |
666 SetDocumentSelectionParams params); | 671 SetDocumentSelectionParams params); |
667 }; | 672 }; |
668 }; | 673 }; |
OLD | NEW |