OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Accessibility Object Model node list |
| 6 // Explainer: https://github.com/WICG/aom/blob/master/explainer.md |
| 7 // Spec: https://wicg.github.io/aom/spec/ |
| 8 [ |
| 9 Constructor(optional sequence<AccessibleNode> nodes = []), |
| 10 RuntimeEnabled=AccessibilityObjectModel |
| 11 ] interface AccessibleNodeList { |
| 12 attribute unsigned long length; |
| 13 getter AccessibleNode? item(unsigned long index); |
| 14 [RaisesException] setter void (unsigned long index, AccessibleNode node); |
| 15 void add(AccessibleNode node, optional AccessibleNode? before = null); |
| 16 void remove(long index); |
| 17 }; |
OLD | NEW |