Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: third_party/WebKit/Source/core/dom/AccessibleNodeList.idl

Issue 2967193003: Relation list properties for Accessibility Object Model phase 1 (Closed)
Patch Set: Get rid of accidental duplication in inspector output Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/AccessibleNodeList.idl
diff --git a/third_party/WebKit/Source/core/dom/AccessibleNodeList.idl b/third_party/WebKit/Source/core/dom/AccessibleNodeList.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ec9a2b107aebd56e1e557b11a487a43f87a8a2c6
--- /dev/null
+++ b/third_party/WebKit/Source/core/dom/AccessibleNodeList.idl
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Accessibility Object Model node list
+// Explainer: https://github.com/WICG/aom/blob/master/explainer.md
+// Spec: https://wicg.github.io/aom/spec/
+[
+ Constructor(optional sequence<AccessibleNode> nodes = []),
+ RuntimeEnabled=AccessibilityObjectModel
+] interface AccessibleNodeList {
+ attribute unsigned long length;
+ getter AccessibleNode? item(unsigned long index);
+ [RaisesException] setter void (unsigned long index, AccessibleNode node);
+ void add(AccessibleNode node, optional AccessibleNode? before = null);
+ void remove(long index);
+};
« no previous file with comments | « third_party/WebKit/Source/core/dom/AccessibleNodeList.cpp ('k') | third_party/WebKit/Source/core/dom/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698