Chromium Code Reviews| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 application, | 72 application, |
| 73 article, | 73 article, |
| 74 audio, | 74 audio, |
| 75 banner, | 75 banner, |
| 76 blockquote, | 76 blockquote, |
| 77 busyIndicator, | 77 busyIndicator, |
| 78 button, | 78 button, |
| 79 buttonDropDown, | 79 buttonDropDown, |
| 80 canvas, | 80 canvas, |
| 81 caption, | 81 caption, |
| 82 caret, | |
|
dmazzoni
2017/05/01 16:00:34
Is this accidental? I don't think you mean to dele
| |
| 83 cell, | 82 cell, |
| 84 checkBox, | 83 checkBox, |
| 85 client, | 84 client, |
| 86 colorWell, | 85 colorWell, |
| 87 columnHeader, | 86 columnHeader, |
| 88 column, | 87 column, |
| 89 comboBox, | 88 comboBox, |
| 90 complementary, | 89 complementary, |
| 91 contentInfo, | 90 contentInfo, |
| 92 date, | 91 date, |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 790 // Everything in the tree between the two node/offset pairs gets included | 789 // Everything in the tree between the two node/offset pairs gets included |
| 791 // in the selection. The anchor is where the user started the selection, | 790 // in the selection. The anchor is where the user started the selection, |
| 792 // while the focus is the point at which the selection gets extended | 791 // while the focus is the point at which the selection gets extended |
| 793 // e.g. when dragging with a mouse or using the keyboard. For nodes with | 792 // e.g. when dragging with a mouse or using the keyboard. For nodes with |
| 794 // the role staticText, the offset gives the character offset within | 793 // the role staticText, the offset gives the character offset within |
| 795 // the value where the selection starts or ends, respectively. | 794 // the value where the selection starts or ends, respectively. |
| 796 [nocompile] static void setDocumentSelection( | 795 [nocompile] static void setDocumentSelection( |
| 797 SetDocumentSelectionParams params); | 796 SetDocumentSelectionParams params); |
| 798 }; | 797 }; |
| 799 }; | 798 }; |
| OLD | NEW |