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

Side by Side Diff: third_party/WebCore/page/DOMWindow.idl

Issue 9958151: Update script to fetch new WebCore IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « third_party/WebCore/page/DOMSelection.idl ('k') | third_party/WebCore/page/EventSource.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27 module window {
28
29 interface [
30 CheckSecurity,
31 JSCustomDefineOwnProperty,
32 CustomDeleteProperty,
33 CustomGetOwnPropertySlot,
34 CustomEnumerateProperty,
35 JSCustomMarkFunction,
36 JSCustomToNativeObject,
37 CustomPutFunction,
38 EventTarget,
39 ExtendsDOMGlobalObject,
40 JSGenerateToNativeObject,
41 ReplaceableConstructor,
42 JSLegacyParent=JSDOMWindowBase,
43 V8CustomToJSObject,
44 InterfaceName=Window
45 ] DOMWindow {
46 // DOM Level 0
47 attribute [Replaceable] Screen screen;
48 attribute [Replaceable, DoNotCheckSecurityOnGetter] History history;
49 attribute [Replaceable] BarInfo locationbar;
50 attribute [Replaceable] BarInfo menubar;
51 attribute [Replaceable] BarInfo personalbar;
52 attribute [Replaceable] BarInfo scrollbars;
53 attribute [Replaceable] BarInfo statusbar;
54 attribute [Replaceable] BarInfo toolbar;
55 attribute [Replaceable] Navigator navigator;
56 attribute [Replaceable] Navigator clientInformation;
57 readonly attribute Crypto crypto;
58 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
59 attribute [DoNotCheckSecurity, CustomSetter, V8Unforgeable] Location loc ation;
60 #endif
61 attribute [Replaceable, CustomGetter, V8CustomSetter] Event event;
62
63 DOMSelection getSelection();
64
65 readonly attribute [CheckSecurityForNode] Element frameElement;
66
67 [DoNotCheckSecurity] void focus();
68 [DoNotCheckSecurity] void blur();
69 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close();
70
71 void print();
72 void stop();
73
74 [Custom] DOMWindow open(in DOMString url,
75 in DOMString name,
76 in [Optional] DOMString options);
77
78 [Custom] DOMObject showModalDialog(in DOMString url,
79 in [Optional] DOMObject dialogArgs,
80 in [Optional] DOMString featureArgs);
81
82 void alert(in [Optional=DefaultIsUndefined] DOMString message);
83 boolean confirm(in [Optional=DefaultIsUndefined] DOMString message);
84 [TreatReturnedNullStringAs=Null] DOMString prompt(in [Optional=DefaultIs Undefined] DOMString message,
85 in [TreatNullAs=NullString, TreatUndefinedAs=NullString,Optional=DefaultIsUndefined] DOMString defaultValue) ;
86
87 boolean find(in [Optional=DefaultIsUndefined] DOMString string,
88 in [Optional=DefaultIsUndefined] boolean caseSensitive,
89 in [Optional=DefaultIsUndefined] boolean backwards,
90 in [Optional=DefaultIsUndefined] boolean wrap,
91 in [Optional=DefaultIsUndefined] boolean wholeWord,
92 in [Optional=DefaultIsUndefined] boolean searchInFrames,
93 in [Optional=DefaultIsUndefined] boolean showDialog);
94
95 attribute [Replaceable] boolean offscreenBuffering;
96
97 attribute [Replaceable] long outerHeight;
98 attribute [Replaceable] long outerWidth;
99 attribute [Replaceable] long innerHeight;
100 attribute [Replaceable] long innerWidth;
101 attribute [Replaceable] long screenX;
102 attribute [Replaceable] long screenY;
103 attribute [Replaceable] long screenLeft;
104 attribute [Replaceable] long screenTop;
105 attribute [Replaceable] long scrollX;
106 attribute [Replaceable] long scrollY;
107 readonly attribute long pageXOffset;
108 readonly attribute long pageYOffset;
109
110 void scrollBy(in [Optional=DefaultIsUndefined] long x, in [Optional=Defa ultIsUndefined] long y);
111 void scrollTo(in [Optional=DefaultIsUndefined] long x, in [Optional=Defa ultIsUndefined] long y);
112 void scroll(in [Optional=DefaultIsUndefined] long x, in [Optional=Defaul tIsUndefined] long y);
113 void moveBy(in [Optional=DefaultIsUndefined] float x, in [Optional=Defau ltIsUndefined] float y); // FIXME: this should take longs not floats.
114 void moveTo(in [Optional=DefaultIsUndefined] float x, in [Optional=Defau ltIsUndefined] float y); // FIXME: this should take longs not floats.
115 void resizeBy(in [Optional=DefaultIsUndefined] float x, in [Optional=Def aultIsUndefined] float y); // FIXME: this should take longs not floats.
116 void resizeTo(in [Optional=DefaultIsUndefined] float width, in [Optional =DefaultIsUndefined] float height); // FIXME: this should take longs not floats.
117
118 readonly attribute [DoNotCheckSecurity] boolean closed;
119
120 attribute [Replaceable, DoNotCheckSecurityOnGetter] unsigned long length ;
121
122 attribute DOMString name;
123
124 attribute DOMString status;
125 attribute DOMString defaultStatus;
126 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
127 // This attribute is an alias of defaultStatus and is necessary for lega cy uses.
128 attribute DOMString defaultstatus;
129 #endif
130
131 // Self referential attributes
132 attribute [Replaceable, DoNotCheckSecurityOnGetter] DOMWindow self;
133 readonly attribute [DoNotCheckSecurity, V8Unforgeable] DOMWindow window;
134 attribute [Replaceable, DoNotCheckSecurityOnGetter] DOMWindow frames;
135
136 attribute [Replaceable, DoNotCheckSecurityOnGetter, V8CustomSetter] DOMW indow opener;
137 attribute [Replaceable, DoNotCheckSecurityOnGetter] DOMWindow parent;
138 attribute [Replaceable, DoNotCheckSecurityOnGetter, V8Unforgeable, V8Rea dOnly] DOMWindow top;
139
140 // DOM Level 2 AbstractView Interface
141 readonly attribute Document document;
142
143 // CSSOM View Module
144 MediaQueryList matchMedia(in DOMString query);
145
146 // styleMedia has been removed from the CSSOM View specification.
147 readonly attribute StyleMedia styleMedia;
148
149 // DOM Level 2 Style Interface
150 CSSStyleDeclaration getComputedStyle(in [Optional=DefaultIsUndefined] El ement element,
151 in [TreatNullAs=NullString, TreatUn definedAs=NullString,Optional=DefaultIsUndefined] DOMString pseudoElement);
152
153 // WebKit extensions
154 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
155 CSSRuleList getMatchedCSSRules(in [Optional=DefaultIsUndefined] Element element,
156 in [Optional=DefaultIsUndefined] DOMStrin g pseudoElement);
157 #endif
158
159 attribute [Replaceable] double devicePixelRatio;
160
161 WebKitPoint webkitConvertPointFromPageToNode(in [Optional=DefaultIsUndef ined] Node node,
162 in [Optional=DefaultIsUndef ined] WebKitPoint p);
163 WebKitPoint webkitConvertPointFromNodeToPage(in [Optional=DefaultIsUndef ined] Node node,
164 in [Optional=DefaultIsUndef ined] WebKitPoint p);
165
166 readonly attribute [V8EnabledAtRuntime] DOMApplicationCache applicationC ache;
167
168 readonly attribute [V8EnabledAtRuntime] Storage sessionStorage
169 getter raises(DOMException);
170 readonly attribute [V8EnabledAtRuntime] Storage localStorage
171 getter raises(DOMException);
172
173 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
174 // This is the interface orientation in degrees. Some examples are:
175 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
176 // 90 is when rotated counter clockwise.
177 readonly attribute long orientation;
178 #endif
179
180 attribute [Replaceable] Console console;
181
182 // cross-document messaging
183 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
184 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin)
185 raises(DOMException);
186 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in DOMString targetOrigin, in Array messagePorts)
187 raises(DOMException);
188
189 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin)
190 raises(DOMException);
191 [DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptV alue message, in DOMString targetOrigin, in Array transferList)
192 raises(DOMException);
193 #else
194 // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
195 [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue m essage, in [Optional] MessagePort messagePort, in DOMString targetOrigin)
196 raises(DOMException);
197 #endif
198
199 #if defined(ENABLE_WEB_TIMING) && ENABLE_WEB_TIMING
200 attribute [Replaceable] Performance performance;
201 #endif
202
203 // Timers
204 [Custom] long setTimeout(in [Optional=DefaultIsUndefined] TimeoutHandler handler,
205 in [Optional=DefaultIsUndefined] long timeout);
206 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout, arguments...);
207 // [Custom] long setTimeout(in DOMString code, in long timeout);
208 void clearTimeout(in [Optional=DefaultIsUndefined] long handle);
209 [Custom] long setInterval(in TimeoutHandler handler, in long timeout);
210 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arguments...);
211 // [Custom] long setInterval(in DOMString code, in long timeout);
212 void clearInterval(in [Optional=DefaultIsUndefined] long handle);
213
214 #if defined(ENABLE_REQUEST_ANIMATION_FRAME)
215 // WebKit animation extensions, being standardized in the WebPerf WG
216 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall back callback, in [Optional=DefaultIsUndefined] Element element);
217 void webkitCancelAnimationFrame(in long id);
218 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre fix.
219 #endif
220
221 // Base64
222 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
223 raises(DOMException);
224 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D OMString string)
225 raises(DOMException);
226
227 // Events
228 attribute EventListener onabort;
229 attribute EventListener onbeforeunload;
230 attribute EventListener onblur;
231 attribute EventListener oncanplay;
232 attribute EventListener oncanplaythrough;
233 attribute EventListener onchange;
234 attribute EventListener onclick;
235 attribute EventListener oncontextmenu;
236 attribute EventListener ondblclick;
237 attribute EventListener ondrag;
238 attribute EventListener ondragend;
239 attribute EventListener ondragenter;
240 attribute EventListener ondragleave;
241 attribute EventListener ondragover;
242 attribute EventListener ondragstart;
243 attribute EventListener ondrop;
244 attribute EventListener ondurationchange;
245 attribute EventListener onemptied;
246 attribute EventListener onended;
247 attribute EventListener onerror;
248 attribute EventListener onfocus;
249 attribute EventListener onhashchange;
250 attribute EventListener oninput;
251 attribute EventListener oninvalid;
252 attribute EventListener onkeydown;
253 attribute EventListener onkeypress;
254 attribute EventListener onkeyup;
255 attribute EventListener onload;
256 attribute EventListener onloadeddata;
257 attribute EventListener onloadedmetadata;
258 attribute EventListener onloadstart;
259 attribute EventListener onmessage;
260 attribute EventListener onmousedown;
261 attribute EventListener onmousemove;
262 attribute EventListener onmouseout;
263 attribute EventListener onmouseover;
264 attribute EventListener onmouseup;
265 attribute EventListener onmousewheel;
266 attribute EventListener onoffline;
267 attribute EventListener ononline;
268 attribute EventListener onpagehide;
269 attribute EventListener onpageshow;
270 attribute EventListener onpause;
271 attribute EventListener onplay;
272 attribute EventListener onplaying;
273 attribute EventListener onpopstate;
274 attribute EventListener onprogress;
275 attribute EventListener onratechange;
276 attribute EventListener onresize;
277 attribute EventListener onscroll;
278 attribute EventListener onseeked;
279 attribute EventListener onseeking;
280 attribute EventListener onselect;
281 attribute EventListener onstalled;
282 attribute EventListener onstorage;
283 attribute EventListener onsubmit;
284 attribute EventListener onsuspend;
285 attribute EventListener ontimeupdate;
286 attribute EventListener onunload;
287 attribute EventListener onvolumechange;
288 attribute EventListener onwaiting;
289
290 // Not implemented yet.
291 // attribute EventListener onafterprint;
292 // attribute EventListener onbeforeprint;
293 // attribute EventListener onreadystatechange;
294 // attribute EventListener onredo;
295 // attribute EventListener onshow;
296 // attribute EventListener onundo;
297
298 // Webkit extensions
299 attribute EventListener onreset;
300 attribute EventListener onsearch;
301 attribute EventListener onwebkitanimationend;
302 attribute EventListener onwebkitanimationiteration;
303 attribute EventListener onwebkitanimationstart;
304 attribute EventListener onwebkittransitionend;
305 #if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
306 attribute EventListener onorientationchange;
307 #endif
308 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener on touchstart;
309 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener on touchmove;
310 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener on touchend;
311 attribute [Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener on touchcancel;
312
313 attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListe ner ondevicemotion;
314 attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListe ner ondeviceorientation;
315
316 // EventTarget interface
317 [Custom] void addEventListener(in DOMString type,
318 in EventListener listener,
319 in [Optional] boolean useCapture);
320 [Custom] void removeEventListener(in DOMString type,
321 in EventListener listener,
322 in [Optional] boolean useCapture);
323 boolean dispatchEvent(in Event evt)
324 raises(EventException);
325
326 [V8Custom] void captureEvents(/*in long eventFlags*/);
327 [V8Custom] void releaseEvents(/*in long eventFlags*/);
328
329 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
330 // Global constructors
331 attribute StyleSheetConstructor StyleSheet;
332 attribute CSSStyleSheetConstructor CSSStyleSheet;
333
334 attribute CSSValueConstructor CSSValue;
335 attribute CSSPrimitiveValueConstructor CSSPrimitiveValue;
336 attribute CSSValueListConstructor CSSValueList;
337 attribute WebKitCSSTransformValueConstructor WebKitCSSTransformValue;
338
339 #if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS
340 attribute WebKitCSSFilterValueConstructor WebKitCSSFilterValue;
341 #endif
342
343 attribute CSSRuleConstructor CSSRule;
344 attribute CSSCharsetRuleConstructor CSSCharsetRule;
345 attribute CSSFontFaceRuleConstructor CSSFontFaceRule;
346 attribute CSSImportRuleConstructor CSSImportRule;
347 attribute CSSMediaRuleConstructor CSSMediaRule;
348 attribute CSSPageRuleConstructor CSSPageRule;
349 attribute CSSStyleRuleConstructor CSSStyleRule;
350
351 attribute CSSStyleDeclarationConstructor CSSStyleDeclaration;
352 attribute MediaListConstructor MediaList;
353 attribute CounterConstructor Counter;
354 attribute CSSRuleListConstructor CSSRuleList;
355 attribute RectConstructor Rect;
356 attribute RGBColorConstructor RGBColor;
357 attribute StyleSheetListConstructor StyleSheetList;
358
359 // FIXME: Implement the commented-out global constructors for interfaces listed in DOM Level 3 Core specification.
360 attribute DOMCoreExceptionConstructor DOMException;
361 attribute DOMStringListConstructor DOMStringList;
362 // attribute NameListConstructor NameList;
363 // attribute DOMImplementationListConstructor DOMImplementationList;
364 // attribute DOMImplementationSourceConstructor DOMImplementationSource;
365 attribute DOMImplementationConstructor DOMImplementation;
366 attribute DOMSettableTokenListConstructor DOMSettableTokenList;
367 attribute DOMTokenListConstructor DOMTokenList;
368 attribute DocumentFragmentConstructor DocumentFragment;
369 attribute DocumentConstructor Document;
370 attribute NodeConstructor Node;
371 attribute NodeListConstructor NodeList;
372 attribute NamedNodeMapConstructor NamedNodeMap;
373 attribute CharacterDataConstructor CharacterData;
374 attribute AttrConstructor Attr;
375 attribute ElementConstructor Element;
376 attribute TextConstructor Text;
377 attribute CommentConstructor Comment;
378 // attribute TypeInfoConstructor TypeInfo;
379 // attribute UserDataHandlerConstructor UserDataHandler;
380 // attribute DOMErrorConstructor DOMError;
381 // attribute DOMErrorHandlerConstructor DOMErrorHandler
382 // attribute DOMLocatorConstructor DOMLocator;
383 // attribute DOMConfigurationConstructor DOMConfiguration;
384 attribute CDATASectionConstructor CDATASection;
385 attribute DocumentTypeConstructor DocumentType;
386 attribute NotationConstructor Notation;
387 attribute EntityConstructor Entity;
388 attribute EntityReferenceConstructor EntityReference;
389 attribute ProcessingInstructionConstructor ProcessingInstruction;
390 attribute [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] ShadowR ootConstructor WebKitShadowRoot;
391
392 attribute DOMSelectionConstructor Selection;
393 attribute DOMWindowConstructor Window;
394
395 attribute HTMLDocumentConstructor HTMLDocument;
396 attribute HTMLElementConstructor HTMLElement;
397 attribute HTMLAnchorElementConstructor HTMLAnchorElement;
398 attribute HTMLAppletElementConstructor HTMLAppletElement;
399 attribute HTMLAreaElementConstructor HTMLAreaElement;
400 attribute HTMLBRElementConstructor HTMLBRElement;
401 attribute HTMLBaseElementConstructor HTMLBaseElement;
402 attribute HTMLBaseFontElementConstructor HTMLBaseFontElement;
403 attribute HTMLBodyElementConstructor HTMLBodyElement;
404 attribute HTMLButtonElementConstructor HTMLButtonElement;
405 attribute HTMLCanvasElementConstructor HTMLCanvasElement;
406 attribute HTMLDListElementConstructor HTMLDListElement;
407 attribute HTMLDirectoryElementConstructor HTMLDirectoryElement;
408 attribute HTMLDivElementConstructor HTMLDivElement;
409 attribute HTMLEmbedElementConstructor HTMLEmbedElement;
410 attribute HTMLFieldSetElementConstructor HTMLFieldSetElement;
411 attribute HTMLFontElementConstructor HTMLFontElement;
412 attribute HTMLFormElementConstructor HTMLFormElement;
413 attribute HTMLFrameElementConstructor HTMLFrameElement;
414 attribute HTMLFrameSetElementConstructor HTMLFrameSetElement;
415 attribute HTMLHRElementConstructor HTMLHRElement;
416 attribute HTMLHeadElementConstructor HTMLHeadElement;
417 attribute HTMLHeadingElementConstructor HTMLHeadingElement;
418 attribute HTMLHtmlElementConstructor HTMLHtmlElement;
419 attribute HTMLIFrameElementConstructor HTMLIFrameElement;
420 attribute HTMLImageElementConstructor HTMLImageElement;
421 attribute HTMLInputElementConstructor HTMLInputElement;
422 attribute HTMLKeygenElementConstructor HTMLKeygenElement;
423 attribute HTMLLIElementConstructor HTMLLIElement;
424 attribute HTMLLabelElementConstructor HTMLLabelElement;
425 attribute HTMLLegendElementConstructor HTMLLegendElement;
426 attribute HTMLLinkElementConstructor HTMLLinkElement;
427 attribute HTMLMapElementConstructor HTMLMapElement;
428 attribute HTMLMarqueeElementConstructor HTMLMarqueeElement;
429 attribute HTMLMenuElementConstructor HTMLMenuElement;
430 attribute HTMLMetaElementConstructor HTMLMetaElement;
431 #if defined(ENABLE_METER_TAG) && ENABLE_METER_TAG
432 attribute HTMLMeterElementConstructor HTMLMeterElement;
433 #endif
434 attribute HTMLModElementConstructor HTMLModElement;
435 attribute HTMLOListElementConstructor HTMLOListElement;
436 attribute HTMLObjectElementConstructor HTMLObjectElement;
437 attribute HTMLOptGroupElementConstructor HTMLOptGroupElement;
438 attribute HTMLOptionElementConstructor HTMLOptionElement;
439 attribute HTMLOutputElementConstructor HTMLOutputElement;
440 attribute HTMLParagraphElementConstructor HTMLParagraphElement;
441 attribute HTMLParamElementConstructor HTMLParamElement;
442 attribute HTMLPreElementConstructor HTMLPreElement;
443 #if defined(ENABLE_PROGRESS_TAG) && ENABLE_PROGRESS_TAG
444 attribute HTMLProgressElementConstructor HTMLProgressElement;
445 #endif
446 attribute HTMLQuoteElementConstructor HTMLQuoteElement;
447 attribute HTMLScriptElementConstructor HTMLScriptElement;
448 attribute HTMLSelectElementConstructor HTMLSelectElement;
449 attribute HTMLSpanElementConstructor HTMLSpanElement;
450 attribute HTMLStyleElementConstructor HTMLStyleElement;
451 attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement;
452 attribute HTMLTableCellElementConstructor HTMLTableCellElement;
453 attribute HTMLTableColElementConstructor HTMLTableColElement;
454 attribute HTMLTableElementConstructor HTMLTableElement;
455 attribute HTMLTableRowElementConstructor HTMLTableRowElement;
456 attribute HTMLTableSectionElementConstructor HTMLTableSectionElement;
457 attribute HTMLTextAreaElementConstructor HTMLTextAreaElement;
458 attribute HTMLTitleElementConstructor HTMLTitleElement;
459 attribute HTMLUListElementConstructor HTMLUListElement;
460
461 attribute HTMLCollectionConstructor HTMLCollection;
462 attribute HTMLAllCollectionConstructor HTMLAllCollection;
463 attribute [Conditional=MICRODATA] HTMLPropertiesCollectionConstructor HT MLPropertiesCollection;
464 attribute HTMLUnknownElementConstructor HTMLUnknownElement;
465
466 attribute [JSCustomGetter, CustomConstructor] HTMLImageElementConstructo rConstructor Image; // Usable with new operator
467 attribute [JSCustomGetter] HTMLOptionElementConstructorConstructor Optio n; // Usable with new operator
468
469 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] HTMLTrackElementConstructor HTMLTrackElement;
470 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackConstructor TextTrack;
471 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueConstructor TextTrackCue; // Usable with the new operator
472 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackCueListConstructor TextTrackCueList;
473 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TextTrackListConstructor TextTrackList;
474 attribute [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;
475
476 attribute [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] HTMLAu dioElementConstructorConstructor Audio; // Usable with the new operator
477 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLAudioElementConstr uctor HTMLAudioElement;
478 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLMediaElementConstr uctor HTMLMediaElement;
479 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLVideoElementConstr uctor HTMLVideoElement;
480 attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaErrorConstructor MediaError;
481 attribute [Conditional=VIDEO, V8EnabledAtRuntime] TimeRangesConstructor TimeRanges;
482 attribute [Conditional=VIDEO, V8EnabledAtRuntime] HTMLSourceElementConst ructor HTMLSourceElement;
483 attribute [Conditional=VIDEO, V8EnabledAtRuntime] MediaControllerConstru ctor MediaController;
484
485 attribute CanvasPatternConstructor CanvasPattern;
486 attribute CanvasGradientConstructor CanvasGradient;
487 attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D;
488
489 attribute ImageDataConstructor ImageData;
490 attribute TextMetricsConstructor TextMetrics;
491
492 attribute [Conditional=WEBGL] WebGLActiveInfoConstructor WebGLActiveInfo ;
493 attribute [Conditional=WEBGL] WebGLBufferConstructor WebGLBuffer;
494 attribute [Conditional=WEBGL] WebGLFramebufferConstructor WebGLFramebuff er;
495 attribute [Conditional=WEBGL] WebGLProgramConstructor WebGLProgram;
496 attribute [Conditional=WEBGL] WebGLRenderbufferConstructor WebGLRenderbu ffer;
497 attribute [Conditional=WEBGL] WebGLRenderingContextConstructor WebGLRend eringContext;
498 attribute [Conditional=WEBGL] WebGLShaderConstructor WebGLShader;
499 attribute [Conditional=WEBGL] WebGLTextureConstructor WebGLTexture;
500 attribute [Conditional=WEBGL] WebGLUniformLocationConstructor WebGLUnifo rmLocation;
501
502 attribute DOMStringMapConstructor DOMStringMap;
503
504 attribute ArrayBufferConstructor ArrayBuffer; // Usable with new operato r
505 attribute Int8ArrayConstructor Int8Array; // Usable with new operator
506 attribute Uint8ArrayConstructor Uint8Array; // Usable with new operator
507 attribute Uint8ClampedArrayConstructor Uint8ClampedArray; // Usable with new operator
508 attribute Int16ArrayConstructor Int16Array; // Usable with new operator
509 attribute Uint16ArrayConstructor Uint16Array; // Usable with new operato r
510 attribute Int32ArrayConstructor Int32Array; // Usable with new operator
511 attribute Uint32ArrayConstructor Uint32Array; // Usable with new operato r
512 attribute Float32ArrayConstructor Float32Array; // Usable with new opera tor
513 attribute Float64ArrayConstructor Float64Array; // Usable with new opera tor
514 attribute DataViewConstructor DataView; // Usable with new operator
515
516 // Event Constructors
517 attribute EventConstructor Event;
518 attribute BeforeLoadEventConstructor BeforeLoadEvent;
519 attribute CompositionEventConstructor CompositionEvent;
520 attribute CustomEventConstructor CustomEvent;
521 attribute ErrorEventConstructor ErrorEvent;
522 attribute HashChangeEventConstructor HashChangeEvent;
523 attribute KeyboardEventConstructor KeyboardEvent;
524 attribute MessageEventConstructor MessageEvent;
525 attribute MouseEventConstructor MouseEvent;
526 attribute MutationEventConstructor MutationEvent;
527 attribute OverflowEventConstructor OverflowEvent;
528 attribute PopStateEventConstructor PopStateEvent;
529 attribute PageTransitionEventConstructor PageTransitionEvent;
530 attribute ProgressEventConstructor ProgressEvent;
531 attribute TextEventConstructor TextEvent;
532 attribute UIEventConstructor UIEvent;
533 attribute WebKitAnimationEventConstructor WebKitAnimationEvent;
534 attribute WebKitTransitionEventConstructor WebKitTransitionEvent;
535 attribute WheelEventConstructor WheelEvent;
536 attribute XMLHttpRequestProgressEventConstructor XMLHttpRequestProgressE vent;
537 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceMot ionEventConstructor DeviceMotionEvent;
538 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceOri entationEventConstructor DeviceOrientationEvent;
539 attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent;
540 attribute StorageEventConstructor StorageEvent;
541 attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechI nputEvent;
542 attribute [Conditional=WEBGL] WebGLContextEventConstructor WebGLContextE vent;
543
544 attribute EventExceptionConstructor EventException;
545
546 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule;
547 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule;
548 attribute WebKitCSSRegionRuleConstructor WebKitCSSRegionRule;
549
550 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the new operator
551
552 attribute WebKitPointConstructor WebKitPoint; // Usable with new the ope rator
553
554 attribute ClipboardConstructor Clipboard;
555
556 attribute [Conditional=WORKERS] WorkerConstructor Worker; // Usable with the new operator
557 attribute [Conditional=SHARED_WORKERS, JSCustomGetter, V8EnabledAtRuntim e] SharedWorkerConstructor SharedWorker; // Usable with the new operator
558
559 attribute FileConstructor File;
560 attribute FileListConstructor FileList;
561 attribute BlobConstructor Blob;
562
563 attribute NodeFilterConstructor NodeFilter;
564 attribute RangeConstructor Range;
565 attribute RangeExceptionConstructor RangeException;
566
567 attribute EventSourceConstructor EventSource; // Usable with new the ope rator
568
569 // Mozilla has a separate XMLDocument object for XML documents.
570 // We just use Document for this.
571 attribute DocumentConstructor XMLDocument;
572 attribute DOMParserConstructor DOMParser;
573 attribute XMLSerializerConstructor XMLSerializer;
574 attribute XMLHttpRequestConstructor XMLHttpRequest; // Usable with the n ew operator
575 attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload;
576 attribute XMLHttpRequestExceptionConstructor XMLHttpRequestException;
577 attribute [Conditional=XSLT] XSLTProcessorConstructor XSLTProcessor; // Usable with the new operator
578
579 #if defined(ENABLE_CHANNEL_MESSAGING) && ENABLE_CHANNEL_MESSAGING
580 attribute MessagePortConstructor MessagePort;
581 attribute MessageChannelConstructor MessageChannel; // Usable with the n ew operator
582 #endif
583
584 attribute DOMPluginConstructor Plugin;
585 attribute DOMPluginArrayConstructor PluginArray;
586
587 attribute DOMMimeTypeConstructor MimeType;
588 attribute DOMMimeTypeArrayConstructor MimeTypeArray;
589
590 attribute ClientRectConstructor ClientRect;
591 attribute ClientRectListConstructor ClientRectList;
592
593 attribute StorageConstructor Storage;
594
595 #if defined(ENABLE_ANIMATION_API) && ENABLE_ANIMATION_API
596 attribute WebKitAnimationConstructor WebKitAnimation;
597 attribute WebKitAnimationListConstructor WebKitAnimationList;
598 #endif
599
600 attribute XPathEvaluatorConstructor XPathEvaluator;
601 attribute XPathResultConstructor XPathResult;
602 attribute XPathExceptionConstructor XPathException;
603
604 attribute [Conditional=SVG] SVGZoomEventConstructor SVGZoomEvent;
605
606 #if defined(ENABLE_SVG) && ENABLE_SVG
607 // Expose all implemented SVG 1.1 interfaces, excluding the SVG MI inter faces:
608 // SVGAnimatedPathData, SVGAnimatedPoints, SVGExternalResourcesRequired,
609 // SVGFilterPrimitiveStandardAttributes, SVGFitToViewBox, SVGLangSpace, SVGLocatable
610 // SVGStylable, SVGTests, SVGTransformable, SVGURIReference, SVGZoomAndP an
611 attribute SVGAElementConstructor SVGAElement;
612 attribute SVGAngleConstructor SVGAngle;
613 attribute SVGAnimatedAngleConstructor SVGAnimatedAngle;
614 attribute SVGAnimatedBooleanConstructor SVGAnimatedBoolean;
615 attribute SVGAnimatedEnumerationConstructor SVGAnimatedEnumeration;
616 attribute SVGAnimatedIntegerConstructor SVGAnimatedInteger;
617 attribute SVGAnimatedLengthConstructor SVGAnimatedLength;
618 attribute SVGAnimatedLengthListConstructor SVGAnimatedLengthList;
619 attribute SVGAnimatedNumberConstructor SVGAnimatedNumber;
620 attribute SVGAnimatedNumberListConstructor SVGAnimatedNumberList;
621 attribute SVGAnimatedPreserveAspectRatioConstructor SVGAnimatedPreserveA spectRatio;
622 attribute SVGAnimatedRectConstructor SVGAnimatedRect;
623 attribute SVGAnimatedStringConstructor SVGAnimatedString;
624 attribute SVGAnimatedTransformListConstructor SVGAnimatedTransformList;
625 attribute SVGCircleElementConstructor SVGCircleElement;
626 attribute SVGClipPathElementConstructor SVGClipPathElement;
627 attribute SVGColorConstructor SVGColor;
628 attribute SVGCursorElementConstructor SVGCursorElement;
629 // attribute SVGCSSRuleConstructor SVGCSSRule;
630 attribute SVGDefsElementConstructor SVGDefsElement;
631 attribute SVGDescElementConstructor SVGDescElement;
632 attribute SVGDocumentConstructor SVGDocument;
633 attribute SVGElementConstructor SVGElement;
634 attribute SVGElementInstanceConstructor SVGElementInstance;
635 attribute SVGElementInstanceListConstructor SVGElementInstanceList;
636 attribute SVGEllipseElementConstructor SVGEllipseElement;
637 attribute SVGForeignObjectElementConstructor SVGForeignObjectElement;
638 attribute SVGExceptionConstructor SVGException;
639 attribute SVGGElementConstructor SVGGElement;
640 attribute SVGGradientElementConstructor SVGGradientElement;
641 attribute SVGImageElementConstructor SVGImageElement;
642 attribute SVGLengthConstructor SVGLength;
643 attribute SVGLengthListConstructor SVGLengthList;
644 attribute SVGLinearGradientElementConstructor SVGLinearGradientElement;
645 attribute SVGLineElementConstructor SVGLineElement;
646 attribute SVGMarkerElementConstructor SVGMarkerElement;
647 attribute SVGMaskElementConstructor SVGMaskElement;
648 attribute SVGMatrixConstructor SVGMatrix;
649 attribute SVGMetadataElementConstructor SVGMetadataElement;
650 attribute SVGNumberConstructor SVGNumber;
651 attribute SVGNumberListConstructor SVGNumberList;
652 attribute SVGPaintConstructor SVGPaint;
653 attribute SVGPathElementConstructor SVGPathElement;
654 attribute SVGPathSegConstructor SVGPathSeg;
655 attribute SVGPathSegArcAbsConstructor SVGPathSegArcAbs;
656 attribute SVGPathSegArcRelConstructor SVGPathSegArcRel;
657 attribute SVGPathSegClosePathConstructor SVGPathSegClosePath;
658 attribute SVGPathSegCurvetoCubicAbsConstructor SVGPathSegCurvetoCubicAbs ;
659 attribute SVGPathSegCurvetoCubicRelConstructor SVGPathSegCurvetoCubicRel ;
660 attribute SVGPathSegCurvetoCubicSmoothAbsConstructor SVGPathSegCurvetoCu bicSmoothAbs;
661 attribute SVGPathSegCurvetoCubicSmoothRelConstructor SVGPathSegCurvetoCu bicSmoothRel;
662 attribute SVGPathSegCurvetoQuadraticAbsConstructor SVGPathSegCurvetoQuad raticAbs;
663 attribute SVGPathSegCurvetoQuadraticRelConstructor SVGPathSegCurvetoQuad raticRel;
664 attribute SVGPathSegCurvetoQuadraticSmoothAbsConstructor SVGPathSegCurve toQuadraticSmoothAbs;
665 attribute SVGPathSegCurvetoQuadraticSmoothRelConstructor SVGPathSegCurve toQuadraticSmoothRel;
666 attribute SVGPathSegLinetoAbsConstructor SVGPathSegLinetoAbs;
667 attribute SVGPathSegLinetoHorizontalAbsConstructor SVGPathSegLinetoHoriz ontalAbs;
668 attribute SVGPathSegLinetoHorizontalRelConstructor SVGPathSegLinetoHoriz ontalRel;
669 attribute SVGPathSegLinetoRelConstructor SVGPathSegLinetoRel;
670 attribute SVGPathSegLinetoVerticalAbsConstructor SVGPathSegLinetoVertica lAbs;
671 attribute SVGPathSegLinetoVerticalRelConstructor SVGPathSegLinetoVertica lRel;
672 attribute SVGPathSegListConstructor SVGPathSegList;
673 attribute SVGPathSegMovetoAbsConstructor SVGPathSegMovetoAbs;
674 attribute SVGPathSegMovetoRelConstructor SVGPathSegMovetoRel;
675 attribute SVGPatternElementConstructor SVGPatternElement;
676 attribute SVGPointConstructor SVGPoint;
677 attribute SVGPointListConstructor SVGPointList;
678 attribute SVGPolygonElementConstructor SVGPolygonElement;
679 attribute SVGPolylineElementConstructor SVGPolylineElement;
680 attribute SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio;
681 attribute SVGRadialGradientElementConstructor SVGRadialGradientElement;
682 attribute SVGRectConstructor SVGRect;
683 attribute SVGRectElementConstructor SVGRectElement;
684 attribute SVGRenderingIntentConstructor SVGRenderingIntent;
685 attribute SVGScriptElementConstructor SVGScriptElement;
686 attribute SVGStopElementConstructor SVGStopElement;
687 attribute SVGStringListConstructor SVGStringList;
688 attribute SVGStyleElementConstructor SVGStyleElement;
689 attribute SVGSVGElementConstructor SVGSVGElement;
690 attribute SVGSwitchElementConstructor SVGSwitchElement;
691 attribute SVGSymbolElementConstructor SVGSymbolElement;
692 attribute SVGTextContentElementConstructor SVGTextContentElement;
693 attribute SVGTextElementConstructor SVGTextElement;
694 attribute SVGTextPathElementConstructor SVGTextPathElement;
695 attribute SVGTextPositioningElementConstructor SVGTextPositioningElement ;
696 attribute SVGTitleElementConstructor SVGTitleElement;
697 attribute SVGTransformConstructor SVGTransform;
698 attribute SVGTransformListConstructor SVGTransformList;
699 attribute SVGTRefElementConstructor SVGTRefElement;
700 attribute SVGTSpanElementConstructor SVGTSpanElement;
701 attribute SVGUnitTypesConstructor SVGUnitTypes;
702 attribute SVGUseElementConstructor SVGUseElement;
703 attribute SVGViewElementConstructor SVGViewElement;
704 // attribute SVGViewSpecConstructor SVGViewSpec;
705
706 attribute SVGAnimateColorElementConstructor SVGAnimateColorElement;
707 attribute SVGAnimateElementConstructor SVGAnimateElement;
708 attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement;
709 attribute SVGAnimateTransformElementConstructor SVGAnimateTransformEleme nt;
710 attribute SVGMPathElementConstructor SVGMPathElement;
711 attribute SVGSetElementConstructor SVGSetElement;
712
713 #if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS
714 attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
715 attribute SVGAltGlyphElementConstructor SVGAltGlyphElement;
716 attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
717 // attribute SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement;
718 attribute SVGFontElementConstructor SVGFontElement;
719 attribute SVGFontFaceElementConstructor SVGFontFaceElement;
720 attribute SVGFontFaceFormatElementConstructor SVGFontFaceFormatElement;
721 attribute SVGFontFaceNameElementConstructor SVGFontFaceNameElement;
722 attribute SVGFontFaceSrcElementConstructor SVGFontFaceSrcElement;
723 attribute SVGFontFaceUriElementConstructor SVGFontFaceUriElement;
724 attribute SVGGlyphElementConstructor SVGGlyphElement;
725 attribute SVGGlyphRefElementConstructor SVGGlyphRefElement;
726 attribute SVGHKernElementConstructor SVGHKernElement;
727 attribute SVGMissingGlyphElementConstructor SVGMissingGlyphElement;
728 attribute SVGVKernElementConstructor SVGVKernElement;
729 #endif
730
731 #if defined(ENABLE_FILTERS) && ENABLE_FILTERS
732 attribute SVGComponentTransferFunctionElementConstructor SVGComponentTra nsferFunctionElement;
733 attribute SVGFEBlendElementConstructor SVGFEBlendElement;
734 attribute SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement;
735 attribute SVGFEComponentTransferElementConstructor SVGFEComponentTransfe rElement;
736 attribute SVGFECompositeElementConstructor SVGFECompositeElement;
737 attribute SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixEleme nt;
738 attribute SVGFEDiffuseLightingElementConstructor SVGFEDiffuseLightingEle ment;
739 attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapEle ment;
740 attribute SVGFEDistantLightElementConstructor SVGFEDistantLightElement;
741 attribute SVGFEDropShadowElementConstructor SVGFEDropShadowElement;
742 attribute SVGFEFloodElementConstructor SVGFEFloodElement;
743 attribute SVGFEFuncAElementConstructor SVGFEFuncAElement;
744 attribute SVGFEFuncBElementConstructor SVGFEFuncBElement;
745 attribute SVGFEFuncGElementConstructor SVGFEFuncGElement;
746 attribute SVGFEFuncRElementConstructor SVGFEFuncRElement;
747 attribute SVGFEGaussianBlurElementConstructor SVGFEGaussianBlurElement;
748 attribute SVGFEImageElementConstructor SVGFEImageElement;
749 attribute SVGFEMergeElementConstructor SVGFEMergeElement;
750 attribute SVGFEMergeNodeElementConstructor SVGFEMergeNodeElement;
751 attribute SVGFEMorphologyElementConstructor SVGFEMorphologyElement;
752 attribute SVGFEOffsetElementConstructor SVGFEOffsetElement;
753 attribute SVGFEPointLightElementConstructor SVGFEPointLightElement;
754 attribute SVGFESpecularLightingElementConstructor SVGFESpecularLightingE lement;
755 attribute SVGFESpotLightElementConstructor SVGFESpotLightElement;
756 attribute SVGFETileElementConstructor SVGFETileElement;
757 attribute SVGFETurbulenceElementConstructor SVGFETurbulenceElement;
758 attribute SVGFilterElementConstructor SVGFilterElement;
759 #endif
760 #endif
761
762 attribute DOMFormDataConstructor FormData;
763
764 attribute [Conditional=BLOB|FILE_SYSTEM] FileErrorConstructor FileError;
765 attribute [Conditional=BLOB] FileReaderConstructor FileReader;
766
767 attribute [Conditional=BLOB] WebKitBlobBuilderConstructor WebKitBlobBuil der;
768
769 attribute [Conditional=BLOB] DOMURLConstructor webkitURL;
770
771 #if defined(ENABLE_QUOTA) && ENABLE_QUOTA
772 readonly attribute [V8EnabledAtRuntime=Quota] StorageInfo webkitStorageI nfo;
773 #endif
774
775 attribute [Conditional=MUTATION_OBSERVERS] WebKitMutationObserverConstru ctor WebKitMutationObserver;
776
777 #endif // defined(LANGUAGE_JAVASCRIPT)
778
779 #if defined(V8_BINDING) && V8_BINDING
780 // window.toString() requires special handling in V8
781 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt ring toString();
782 #endif // defined(V8_BINDING)
783 };
784
785 }
786
OLDNEW
« no previous file with comments | « third_party/WebCore/page/DOMSelection.idl ('k') | third_party/WebCore/page/EventSource.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698