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

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

Issue 23534036: Roll IDL files forward (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 3 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/DataTransferItemList.idl ('k') | core/dom/DocumentType.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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 15 matching lines...) Expand all
26 26
27 // DOM Level 1 Core 27 // DOM Level 1 Core
28 readonly attribute DocumentType doctype; 28 readonly attribute DocumentType doctype;
29 readonly attribute DOMImplementation implementation; 29 readonly attribute DOMImplementation implementation;
30 readonly attribute Element documentElement; 30 readonly attribute Element documentElement;
31 31
32 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul t=Undefined] optional DOMString tagName); 32 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul t=Undefined] optional DOMString tagName);
33 DocumentFragment createDocumentFragment(); 33 DocumentFragment createDocumentFragment();
34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data); 34 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data);
35 Comment createComment([Default=Undefined] optional DOMString data); 35 Comment createComment([Default=Undefined] optional DOMString data);
36 [RaisesException] CDATASection createCDATASection([Default=Undefined] option al DOMString data); 36 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection([Default=Undefined] optional DOMString data); // Removed from DOM4.
37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target, 37 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target,
38 [Default=Undefined] optional DOMString data); 38 [Default=Undefined] optional DOMString data);
39 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin g name); 39 [RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute([D efault=Undefined] optional DOMString name); // Removed from DOM4.
40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname); 40 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname);
41 41
42 // Introduced in DOM Level 2: 42 // Introduced in DOM Level 2:
43 43
44 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im portedNode, 44 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im portedNode,
45 optional boolean deep); 45 optional boolean deep);
46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa ult=Undefined] optional DOMString namespaceURI, 46 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa ult=Undefined] optional DOMString namespaceURI,
47 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); 47 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
48 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und efined] optional DOMString namespaceURI, 48 [RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeN S([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
49 [Treat NullAs=NullString,Default=Undefined] optional DOMString qualifiedName); 49 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); // Removed from DOM4.
50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, 50 NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI,
51 [Default=Undefined] optional DOMString localName); 51 [Default=Undefined] optional DOMString localName);
52 [PerWorldBindings] Element getElementById([Default=Undefined] opt ional DOMString elementId); 52 [PerWorldBindings] Element getElementById([Default=Undefined] opt ional DOMString elementId);
53 53
54 // DOM Level 3 Core 54 // DOM Level 3 Core
55 55
56 [TreatReturnedNullStringAs=Null] readonly attribute DOMString inputEncoding; 56 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentInputEncoding] readonly a ttribute DOMString inputEncoding; // Removed from DOM4.
57 57
58 [TreatReturnedNullStringAs=Null] readonly attribute DOMString xmlEncoding; 58 [TreatReturnedNullStringAs=Null, MeasureAs=DocumentXMLEncoding] readonly att ribute DOMString xmlEncoding; // Removed from DOM4.
59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRais esException] attribute DOMString xmlVersion; 59 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesExcepti on, MeasureAs=DocumentXMLVersion] attribute DOMString xmlVersion; // Removed fro m DOM4.
60 [SetterRaisesException] attribute boolean xmlStandalone; 60 [SetterRaisesException, MeasureAs=DocumentXMLStandalone] attribute boolean x mlStandalone; // Removed from DOM4.
61 61
62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod e([Default=Undefined] optional Node source); 62 [RaisesException, CustomElementCallbacks=Enable] Node adoptNod e([Default=Undefined] optional Node source);
63 63
64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI; 64 [TreatReturnedNullStringAs=Null] readonly attribute DOMString documentURI;
65 65
66 // DOM Level 2 Events (DocumentEvents interface) 66 // DOM Level 2 Events (DocumentEvents interface)
67 67
68 [RaisesException] Event createEvent([Default=Undefined] optiona l DOMString eventType); 68 [RaisesException] Event createEvent([Default=Undefined] optiona l DOMString eventType);
69 69
70 // DOM Level 2 Traversal and Range (DocumentRange interface) 70 // DOM Level 2 Traversal and Range (DocumentRange interface)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 readonly attribute HTMLCollection links; 126 readonly attribute HTMLCollection links;
127 readonly attribute HTMLCollection forms; 127 readonly attribute HTMLCollection forms;
128 readonly attribute HTMLCollection anchors; 128 readonly attribute HTMLCollection anchors;
129 readonly attribute DOMString lastModified; 129 readonly attribute DOMString lastModified;
130 130
131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName); 131 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName);
132 132
133 [Custom, Replaceable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] readonly attribute Location location; 133 [Custom, Replaceable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] readonly attribute Location location;
134 134
135 // IE extensions 135 // IE extensions
136 136 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset;
137 [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attri bute DOMString charset; 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at tribute DOMString defaultCharset;
138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString defaultCh arset;
139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 138 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
140 139
141 Element elementFromPoint([Default=Undefined] optional long x, 140 Element elementFromPoint([Default=Undefined] optional long x,
142 [Default=Undefined] optional long y); 141 [Default=Undefined] optional long y);
143 Range caretRangeFromPoint([Default=Undefined] optional long x, 142 Range caretRangeFromPoint([Default=Undefined] optional long x,
144 [Default=Undefined] optional long y); 143 [Default=Undefined] optional long y);
145 144
146 // Mozilla extensions 145 // Mozilla extensions
147 Selection getSelection(); 146 Selection getSelection();
148 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; 147 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeypress; 191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeypress;
193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeyup; 192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeyup;
194 [NotEnumerable] attribute EventHandler onload; 193 [NotEnumerable] attribute EventHandler onload;
195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousedown; 194 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousedown;
196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseenter; 195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseenter;
197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseleave; 196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseleave;
198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousemove; 197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousemove;
199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseout; 198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseout;
200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseover; 199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseover;
201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseup; 200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseup;
202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousewheel; 201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousewheel; // Deprecated in favor of onwheel.
202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onwheel;
203 [NotEnumerable] attribute EventHandler onreadystatechange; 203 [NotEnumerable] attribute EventHandler onreadystatechange;
204 [NotEnumerable] attribute EventHandler onscroll; 204 [NotEnumerable] attribute EventHandler onscroll;
205 [NotEnumerable] attribute EventHandler onselect; 205 [NotEnumerable] attribute EventHandler onselect;
206 [NotEnumerable] attribute EventHandler onsubmit; 206 [NotEnumerable] attribute EventHandler onsubmit;
207 207
208 // attribute [NotEnumerable] EventHandler oncanplay; 208 // attribute [NotEnumerable] EventHandler oncanplay;
209 // attribute [NotEnumerable] EventHandler oncanplaythrough; 209 // attribute [NotEnumerable] EventHandler oncanplaythrough;
210 // attribute [NotEnumerable] EventHandler ondurationchange; 210 // attribute [NotEnumerable] EventHandler ondurationchange;
211 // attribute [NotEnumerable] EventHandler onemptied; 211 // attribute [NotEnumerable] EventHandler onemptied;
212 // attribute [NotEnumerable] EventHandler onended; 212 // attribute [NotEnumerable] EventHandler onended;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 [Default=Undefined] optional long pageX, 254 [Default=Undefined] optional long pageX,
255 [Default=Undefined] optional long pageY, 255 [Default=Undefined] optional long pageY,
256 [Default=Undefined] optional long screenX, 256 [Default=Undefined] optional long screenX,
257 [Default=Undefined] optional long screenY, 257 [Default=Undefined] optional long screenY,
258 [Default=Undefined] optional long webkitRadiusX, 258 [Default=Undefined] optional long webkitRadiusX,
259 [Default=Undefined] optional long webkitRadiusY, 259 [Default=Undefined] optional long webkitRadiusY,
260 [Default=Undefined] optional floa t webkitRotationAngle, 260 [Default=Undefined] optional floa t webkitRotationAngle,
261 [Default=Undefined] optional floa t webkitForce); 261 [Default=Undefined] optional floa t webkitForce);
262 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList( ); 262 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList( );
263 263
264 [DeprecateAs=PrefixedDocumentRegister, EnabledAtRuntime=customDOMElements, I mplementedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks=Enabl e, RaisesException] CustomElementConstructor webkitRegister(DOMString name, opti onal Dictionary options); 264 [DeprecateAs=PrefixedDocumentRegister, EnabledAtRuntime=customElements, Impl ementedAs=registerElement, CallWith=ScriptState, CustomElementCallbacks=Enable, RaisesException] CustomElementConstructor webkitRegister(DOMString name, optiona l Dictionary options);
265 [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith =ScriptState, CustomElementCallbacks=Enable, RaisesException] CustomElementConst ructor register(DOMString name, optional Dictionary options); 265 [EnabledAtRuntime=customElements, ImplementedAs=registerElement, CallWith=Sc riptState, CustomElementCallbacks=Enable, RaisesException] CustomElementConstruc tor register(DOMString name, optional Dictionary options);
266 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul lAs=NullString] DOMString typeExtension); 266 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul lAs=NullString] DOMString typeExtension);
267 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString qualifiedName, 267 [CustomElementCallbacks=Enable, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString qualifiedName,
268 [TreatNullAs=NullString] DOMString typeExtension); 268 [TreatNullAs=NullString] DOMString typeExtension);
269 269
270 // Page visibility API. 270 // Page visibility API.
271 readonly attribute DOMString webkitVisibilityState; 271 readonly attribute DOMString webkitVisibilityState;
272 readonly attribute boolean webkitHidden; 272 readonly attribute boolean webkitHidden;
273 273
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute SecurityPolicy securityPolicy; 275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute SecurityPolicy securityPolicy;
276 276
277 readonly attribute HTMLScriptElement currentScript; 277 readonly attribute HTMLScriptElement currentScript;
278 }; 278 };
279 279
280 Document implements ParentNode; 280 Document implements ParentNode;
281 281
OLDNEW
« no previous file with comments | « core/dom/DataTransferItemList.idl ('k') | core/dom/DocumentType.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698