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

Side by Side Diff: sky/engine/core/dom/ParentNode.idl

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [ 5 [
6 ImplementedAs=ContainerNode, 6 ImplementedAs=ContainerNode,
7 ] interface ParentNode : Node { 7 ] interface ParentNode : Node {
8 readonly attribute Node firstChild; 8 readonly attribute Node firstChild;
9 readonly attribute Node lastChild; 9 readonly attribute Node lastChild;
10 readonly attribute Element firstElementChild; 10 readonly attribute Element firstElementChild;
11 readonly attribute Element lastElementChild; 11 readonly attribute Element lastElementChild;
12 12
13 sequence<Node> getChildNodes(); 13 sequence<Node> getChildNodes();
14 sequence<Element> getChildElements(); 14 sequence<Element> getChildElements();
15 15
16 [RaisesException] void append(sequence<Node> nodes); 16 [CustomElementCallbacks, RaisesException] void append(sequence<Node> nodes);
17 [RaisesException] Node appendChild(Node nodes); 17 [CustomElementCallbacks, RaisesException] Node appendChild(Node nodes);
18 [RaisesException] void prepend(sequence<Node> nodes); 18 [CustomElementCallbacks, RaisesException] void prepend(sequence<Node> nodes);
19 [RaisesException] Node prependChild(Node nodes); 19 [CustomElementCallbacks, RaisesException] Node prependChild(Node nodes);
20 20
21 void removeChildren(); 21 [CustomElementCallbacks] void removeChildren();
22 [RaisesException] Node setChild(Node node); 22 [CustomElementCallbacks, RaisesException] Node setChild(Node node);
23 [RaisesException] void setChildren(sequence<Node> nodes); 23 [CustomElementCallbacks, RaisesException] void setChildren(sequence<Node> node s);
24 24
25 // TODO(abarth): Remove when we have the selector object. 25 // TODO(abarth): Remove when we have the selector object.
26 [RaisesException] Element querySelector(DOMString selectors); 26 [RaisesException] Element querySelector(DOMString selectors);
27 [RaisesException] sequence<Element> querySelectorAll(DOMString selectors); 27 [RaisesException] sequence<Element> querySelectorAll(DOMString selectors);
28 }; 28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698