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

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

Issue 923093003: Add support for named arguments to our bindings generation. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « sky/engine/bindings/scripts/templates/interface_dart.template ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 20 matching lines...) Expand all
31 // TODO(esprehn): This should return TreeScope in Sky, but we don't have 31 // TODO(esprehn): This should return TreeScope in Sky, but we don't have
32 // a TreeScope type yet. 32 // a TreeScope type yet.
33 readonly attribute Node ownerScope; 33 readonly attribute Node ownerScope;
34 34
35 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node inser tBefore(Node newChild, Node? refChild); 35 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node inser tBefore(Node newChild, Node? refChild);
36 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node repla ceChild(Node newChild, Node oldChild); 36 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node repla ceChild(Node newChild, Node oldChild);
37 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node remov eChild(Node oldChild); 37 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node remov eChild(Node oldChild);
38 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node appen dChild(Node newChild); 38 [CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node appen dChild(Node newChild);
39 39
40 [ImplementedAs=hasChildren] boolean hasChildNodes(); 40 [ImplementedAs=hasChildren] boolean hasChildNodes();
41 [CustomElementCallbacks] Node cloneNode(optional boolean deep); 41 [CustomElementCallbacks] Node cloneNode([Named] optional boolean deep = true );
42 42
43 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, TreatUndefinedAs=Nu llString, CustomElementCallbacks] attribute DOMString textContent; 43 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, TreatUndefinedAs=Nu llString, CustomElementCallbacks] attribute DOMString textContent;
44 44
45 boolean contains(Node other); 45 boolean contains(Node other);
46 46
47 // DocumentPosition 47 // DocumentPosition
48 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 48 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
49 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 49 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
50 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 50 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;
51 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 51 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;
52 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 52 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
53 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 53 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
54 54
55 unsigned short compareDocumentPosition(Node other); 55 unsigned short compareDocumentPosition(Node other);
56 56
57 readonly attribute Element parentElement; 57 readonly attribute Element parentElement;
58 }; 58 };
OLDNEW
« no previous file with comments | « sky/engine/bindings/scripts/templates/interface_dart.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698