Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(466)

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

Issue 9889044: IDL roll to multivm 1266 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
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 17 matching lines...) Expand all
28 readonly attribute Element documentElement; 28 readonly attribute Element documentElement;
29 29
30 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul t=Undefined] optional DOMString tagName); 30 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement([TreatNullAs=NullString,Defaul t=Undefined] optional DOMString tagName);
31 DocumentFragment createDocumentFragment(); 31 DocumentFragment createDocumentFragment();
32 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data); 32 [PerWorldBindings] Text createTextNode([Default=Undefined] optional DOMStrin g data);
33 Comment createComment([Default=Undefined] optional DOMString data); 33 Comment createComment([Default=Undefined] optional DOMString data);
34 [RaisesException] CDATASection createCDATASection([Default=Undefined] option al DOMString data); 34 [RaisesException] CDATASection createCDATASection([Default=Undefined] option al DOMString data);
35 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target, 35 [RaisesException] ProcessingInstruction createProcessingInstruction([Default =Undefined] optional DOMString target,
36 [Default=Undefined] optional DOMString data); 36 [Default=Undefined] optional DOMString data);
37 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin g name); 37 [RaisesException] Attr createAttribute([Default=Undefined] optional DOMStrin g name);
38 [RaisesException] EntityReference createEntityReference([Default=Undefined] optional DOMString name);
39 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname); 38 [PerWorldBindings] NodeList getElementsByTagName([Default=Undefine d] optional DOMString tagname);
40 39
41 // Introduced in DOM Level 2: 40 // Introduced in DOM Level 2:
42 41
43 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im portedNode, 42 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Node importNode([Default=Undefined] optional Node im portedNode,
44 optional boolean deep); 43 optional boolean deep);
45 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa ult=Undefined] optional DOMString namespaceURI, 44 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString,Defa ult=Undefined] optional DOMString namespaceURI,
46 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName); 45 [TreatNullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
47 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und efined] optional DOMString namespaceURI, 46 [RaisesException] Attr createAttributeNS([TreatNullAs=NullString,Default=Und efined] optional DOMString namespaceURI,
48 [Treat NullAs=NullString,Default=Undefined] optional DOMString qualifiedName); 47 [Treat NullAs=NullString,Default=Undefined] optional DOMString qualifiedName);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 readonly attribute HTMLHeadElement head; 129 readonly attribute HTMLHeadElement head;
131 readonly attribute HTMLCollection images; 130 readonly attribute HTMLCollection images;
132 readonly attribute HTMLCollection applets; 131 readonly attribute HTMLCollection applets;
133 readonly attribute HTMLCollection links; 132 readonly attribute HTMLCollection links;
134 readonly attribute HTMLCollection forms; 133 readonly attribute HTMLCollection forms;
135 readonly attribute HTMLCollection anchors; 134 readonly attribute HTMLCollection anchors;
136 readonly attribute DOMString lastModified; 135 readonly attribute DOMString lastModified;
137 136
138 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName); 137 [PerWorldBindings] NodeList getElementsByName([Default=Undefined] optional D OMString elementName);
139 138
140 [Custom, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] attribute Lo cation location; 139 [Custom, Replaceable, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds] readonly attribute Location location;
141 140
142 // IE extensions 141 // IE extensions
143 142
144 [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attri bute DOMString charset; 143 [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] attri bute DOMString charset;
145 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString defaultCh arset; 144 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString defaultCh arset;
146 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 145 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
147 146
148 Element elementFromPoint([Default=Undefined] optional long x, 147 Element elementFromPoint([Default=Undefined] optional long x,
149 [Default=Undefined] optional long y); 148 [Default=Undefined] optional long y);
150 Range caretRangeFromPoint([Default=Undefined] optional long x, 149 Range caretRangeFromPoint([Default=Undefined] optional long x,
151 [Default=Undefined] optional long y); 150 [Default=Undefined] optional long y);
152 151
153 // Mozilla extensions 152 // Mozilla extensions
154 DOMSelection getSelection(); 153 Selection getSelection();
155 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; 154 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet;
156 155
157 // WebKit extensions 156 // WebKit extensions
158 157
159 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet; 158 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet;
160 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet; 159 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet;
161 160
162 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString na me, long width, long height); 161 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString na me, long width, long height);
163 162
164 // HTML 5 163 // HTML 5
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchstart; 256 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchstart;
258 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchmove; 257 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchmove;
259 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchend; 258 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchend;
260 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchcancel ; 259 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchcancel ;
261 [NotEnumerable] attribute EventListener onwebkitfullscreenchange; 260 [NotEnumerable] attribute EventListener onwebkitfullscreenchange;
262 [NotEnumerable] attribute EventListener onwebkitfullscreenerror; 261 [NotEnumerable] attribute EventListener onwebkitfullscreenerror;
263 [NotEnumerable] attribute EventListener onwebkitpointerlockchange; 262 [NotEnumerable] attribute EventListener onwebkitpointerlockchange;
264 [NotEnumerable] attribute EventListener onwebkitpointerlockerror; 263 [NotEnumerable] attribute EventListener onwebkitpointerlockerror;
265 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventListener onsecuritypolicyviolation; 264 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventListener onsecuritypolicyviolation;
266 265
267 [EnabledAtRuntime=touch, RaisesException] Touch createTouch([Default=Undefin ed] optional DOMWindow window, 266 [EnabledAtRuntime=touch] Touch createTouch([Default=Undefined] optional DOMW indow window,
268 [Default=Undefined] optiona l EventTarget target, 267 [Default=Undefined] optional Even tTarget target,
269 [Default=Undefined] optiona l long identifier, 268 [Default=Undefined] optional long identifier,
270 [Default=Undefined] optiona l long pageX, 269 [Default=Undefined] optional long pageX,
271 [Default=Undefined] optiona l long pageY, 270 [Default=Undefined] optional long pageY,
272 [Default=Undefined] optiona l long screenX, 271 [Default=Undefined] optional long screenX,
273 [Default=Undefined] optiona l long screenY, 272 [Default=Undefined] optional long screenY,
274 [Default=Undefined] optiona l long webkitRadiusX, 273 [Default=Undefined] optional long webkitRadiusX,
275 [Default=Undefined] optiona l long webkitRadiusY, 274 [Default=Undefined] optional long webkitRadiusY,
276 [Default=Undefined] optiona l float webkitRotationAngle, 275 [Default=Undefined] optional floa t webkitRotationAngle,
277 [Default=Undefined] optiona l float webkitForce); 276 [Default=Undefined] optional floa t webkitForce);
278 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList( ); 277 [EnabledAtRuntime=touch, Custom, RaisesException] TouchList createTouchList( );
279 278
280 [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith =ScriptState, DeliverCustomElementCallbacks, RaisesException] CustomElementConst ructor webkitRegister(DOMString name, optional Dictionary options); 279 [EnabledAtRuntime=customDOMElements, ImplementedAs=registerElement, CallWith =ScriptState, DeliverCustomElementCallbacks, RaisesException] CustomElementConst ructor webkitRegister(DOMString name, optional Dictionary options);
281 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul lAs=NullString] DOMString typeExtension); 280 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElement(DOMString localName, [TreatNul lAs=NullString] DOMString typeExtension);
282 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString qualifiedName, 281 [DeliverCustomElementCallbacks, PerWorldBindings, ActivityLog=AccessForIsola tedWorlds, RaisesException] Element createElementNS([TreatNullAs=NullString] DOM String namespaceURI, DOMString qualifiedName,
283 [TreatNullAs=NullString] DOMString typeExtension); 282 [TreatNullAs=NullString] DOMString typeExtension);
284 283
285 // Page visibility API. 284 // Page visibility API.
286 readonly attribute DOMString webkitVisibilityState; 285 readonly attribute DOMString webkitVisibilityState;
287 readonly attribute boolean webkitHidden; 286 readonly attribute boolean webkitHidden;
288 287
289 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 288 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
290 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute DOMSecurityPolicy securityPolicy; 289 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute SecurityPolicy securityPolicy;
291 290
291 // ParentNode interface API
292 readonly attribute HTMLCollection children;
293 readonly attribute Element firstElementChild;
294 readonly attribute Element lastElementChild;
295 readonly attribute unsigned long childElementCount;
292 }; 296 };
293 297
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b