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

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

Issue 103613005: Make arguments to Node methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | « LayoutTests/fast/dom/Node/missing-arguments-expected.txt ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Introduced in DOM Level 2: 62 // Introduced in DOM Level 2:
63 [MeasureAs=NodeIsSupported] boolean isSupported([Default=Undefined] optional DOMString feature, 63 [MeasureAs=NodeIsSupported] boolean isSupported([Default=Undefined] optional DOMString feature,
64 [TreatNullAs=NullString,Defa ult=Undefined] optional DOMString version); // Removed in DOM4. 64 [TreatNullAs=NullString,Defa ult=Undefined] optional DOMString version); // Removed in DOM4.
65 65
66 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceUR I] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DO M4. 66 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceUR I] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DO M4.
67 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter, MeasureAs=NodePrefix] attribute DOMString prefix; // Move d to Element and Attr in DOM4. 67 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, R aisesException=Setter, MeasureAs=NodePrefix] attribute DOMString prefix; // Move d to Element and Attr in DOM4.
68 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName] readonly attribute DOMString localName; // Moved to Element and Attr in DOM4. 68 [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName] readonly attribute DOMString localName; // Moved to Element and Attr in DOM4.
69 69
70 // Introduced in DOM Level 3: 70 // Introduced in DOM Level 3:
71 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing baseURI; 71 [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMStr ing baseURI;
72 72
73 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, C ustomElementCallbacks] attribute DOMString textContent; 73 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, C ustomElementCallbacks] attribute DOMString textContent;
74 74
75 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N ode other); // Removed in DOM4. 75 [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional N ode other); // Removed in DOM4.
76 boolean isEqualNode([Default=Undefined] optional Node other); 76 boolean isEqualNode(Node other);
77 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullA s=NullString,Default=Undefined] optional DOMString namespaceURI); 77 [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullAs=NullStr ing] DOMString namespaceURI);
78 boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefi ned] optional DOMString namespaceURI); 78 boolean isDefaultNamespace([TreatNullAs=NullString] DOMString namespaceURI);
79 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([Trea tNullAs=NullString,Default=Undefined] optional DOMString prefix); 79 [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI([TreatNullAs=N ullString] DOMString prefix);
80 80
81 // DocumentPosition 81 // DocumentPosition
82 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; 82 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
83 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; 83 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02;
84 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; 84 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04;
85 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; 85 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08;
86 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; 86 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10;
87 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 87 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
88 88
89 unsigned short compareDocumentPosition([Default=Undefined] optional Node other); 89 unsigned short compareDocumentPosition(Node other);
90 90
91 // Introduced in DOM4 91 // Introduced in DOM4
92 [ImplementedAs=bindingsContains] boolean contains([Default=Undefined] option al Node other); 92 [ImplementedAs=bindingsContains] boolean contains(Node other);
93 93
94 // IE extensions 94 // IE extensions
95 [PerWorldBindings] readonly attribute Element parentElement; 95 [PerWorldBindings] readonly attribute Element parentElement;
96 }; 96 };
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Node/missing-arguments-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698