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

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

Issue 23014006: Roll IDL to multivm@1350 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeIterator.idl » ('j') | 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 21 matching lines...) Expand all
32 const unsigned short PROCESSING_INSTRUCTION_NODE = 7; 32 const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
33 const unsigned short COMMENT_NODE = 8; 33 const unsigned short COMMENT_NODE = 8;
34 const unsigned short DOCUMENT_NODE = 9; 34 const unsigned short DOCUMENT_NODE = 9;
35 const unsigned short DOCUMENT_TYPE_NODE = 10; 35 const unsigned short DOCUMENT_TYPE_NODE = 10;
36 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; 36 const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
37 const unsigned short NOTATION_NODE = 12; 37 const unsigned short NOTATION_NODE = 12;
38 38
39 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing nodeName; 39 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing nodeName;
40 40
41 // FIXME: the spec says this can also raise on retrieval. 41 // FIXME: the spec says this can also raise on retrieval.
42 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi ndings] attribute DOMString nodeValue; 42 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, C ustomElementCallbacks=Enable] attribute DOMString nodeValue;
43 43
44 [PerWorldBindings] readonly attribute unsigned short nodeType; 44 [PerWorldBindings] readonly attribute unsigned short nodeType;
45 [PerWorldBindings] readonly attribute Node parentNode; 45 [PerWorldBindings] readonly attribute Node parentNode;
46 [PerWorldBindings] readonly attribute NodeList childNodes; 46 [PerWorldBindings] readonly attribute NodeList childNodes;
47 [PerWorldBindings] readonly attribute Node firstChild; 47 [PerWorldBindings] readonly attribute Node firstChild;
48 [PerWorldBindings] readonly attribute Node lastChild; 48 [PerWorldBindings] readonly attribute Node lastChild;
49 [PerWorldBindings] readonly attribute Node previousSibling; 49 [PerWorldBindings] readonly attribute Node previousSibling;
50 [PerWorldBindings] readonly attribute Node nextSibling; 50 [PerWorldBindings] readonly attribute Node nextSibling;
51 [PerWorldBindings] readonly attribute Document ownerDocument; 51 [PerWorldBindings] readonly attribute Document ownerDocument;
52 52
53 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node insertBefore(Node newChild, Node refChild); 53 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node insertBefore(Node newChild, Node refChild);
54 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node replaceChild(Node newChild, Node oldChild); 54 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node replaceChild(Node newChild, Node oldChild);
55 [Custom, PerWorldBindings, RaisesException] Node removeChild(Node oldChild); 55 [Custom, PerWorldBindings, RaisesException] Node removeChild(Node oldChild);
56 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node appendChild(Node newChild); 56 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesExcept ion] Node appendChild(Node newChild);
57 57
58 boolean hasChildNodes(); 58 boolean hasChildNodes();
59 [DeliverCustomElementCallbacks, PerWorldBindings] 59 [CustomElementCallbacks=Enable, PerWorldBindings]
60 Node cloneNode(optional boolean deep); 60 Node cloneNode(optional boolean deep);
61 void normalize(); 61 [CustomElementCallbacks=Enable] void normalize();
62 62
63 // Introduced in DOM Level 2: 63 // Introduced in DOM Level 2:
64 boolean isSupported([Default=Undefined] optional DOMString feature, 64 boolean isSupported([Default=Undefined] optional DOMString feature,
65 [TreatNullAs=NullString,Default=Undefined ] optional DOMString version); 65 [TreatNullAs=NullString,Default=Undefined ] optional DOMString version);
66 66
67 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI; 67 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing namespaceURI;
68 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi ndings, SetterRaisesException] attribute DOMString prefix; 68 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi ndings, SetterRaisesException] attribute DOMString prefix;
69 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName; 69 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing localName;
70 70
71 // Introduced in DOM Level 3: 71 // Introduced in DOM Level 3:
72 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing baseURI; 72 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing baseURI;
73 73
74 // FIXME: the spec says this can also raise on retrieval. 74 // FIXME: the spec says this can also raise on retrieval.
75 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi ndings, SetterRaisesException, DeliverCustomElementCallbacks] attribute DOMStrin g textContent; 75 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBi ndings, SetterRaisesException, CustomElementCallbacks=Enable] attribute DOMStrin g textContent;
76 76
77 boolean isSameNode([Default=Undefined] optional Node other); 77 boolean isSameNode([Default=Undefined] optional Node other);
78 boolean isEqualNode([Default=Undefined] optional Node other); 78 boolean isEqualNode([Default=Undefined] optional Node other);
79 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullA s=NullString,Default=Undefined] optional DOMString namespaceURI); 79 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullA s=NullString,Default=Undefined] optional DOMString namespaceURI);
80 boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefi ned] optional DOMString namespaceURI); 80 boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefi ned] optional DOMString namespaceURI);
81 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([Trea tNullAs=NullString,Default=Undefined] optional DOMString prefix); 81 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([Trea tNullAs=NullString,Default=Undefined] optional DOMString prefix);
82 82
83 // DocumentPosition 83 // DocumentPosition
84 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 84 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
85 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 85 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
86 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 86 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;
87 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 87 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;
88 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 88 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
89 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 89 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
90 90
91 unsigned short compareDocumentPosition([Default=Undefined] optional Node other); 91 unsigned short compareDocumentPosition([Default=Undefined] optional Node other);
92 92
93 // Introduced in DOM4 93 // Introduced in DOM4
94 boolean contains([Default=Undefined] optional Node other); 94 [ImplementedAs=bindingsContains] boolean contains([Default=Undefined] option al Node other);
95 95
96 // IE extensions 96 // IE extensions
97 [PerWorldBindings] readonly attribute Element parentElement; 97 [PerWorldBindings] readonly attribute Element parentElement;
98 }; 98 };
OLDNEW
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeIterator.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698