OLD | NEW |
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) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 readonly attribute Crypto crypto; | 57 readonly attribute Crypto crypto; |
58 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP | 58 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP |
59 attribute [DoNotCheckSecurity, CustomSetter, V8Unforgeable] Location loc
ation; | 59 attribute [DoNotCheckSecurity, CustomSetter, V8Unforgeable] Location loc
ation; |
60 #endif | 60 #endif |
61 attribute [Replaceable, CustomGetter, V8CustomSetter] Event event; | 61 attribute [Replaceable, CustomGetter, V8CustomSetter] Event event; |
62 | 62 |
63 DOMSelection getSelection(); | 63 DOMSelection getSelection(); |
64 | 64 |
65 readonly attribute [CheckSecurityForNode] Element frameElement; | 65 readonly attribute [CheckSecurityForNode] Element frameElement; |
66 | 66 |
67 [DoNotCheckSecurity] void focus(); | 67 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void focus(); |
68 [DoNotCheckSecurity] void blur(); | 68 [DoNotCheckSecurity] void blur(); |
69 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close(); | 69 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close(); |
70 | 70 |
71 void print(); | 71 void print(); |
72 void stop(); | 72 void stop(); |
73 | 73 |
74 [Custom] DOMWindow open(in DOMString url, | 74 [Custom] DOMWindow open(in DOMString url, |
75 in DOMString name, | 75 in DOMString name, |
76 in [Optional] DOMString options); | 76 in [Optional] DOMString options); |
77 | 77 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 // attribute DOMErrorConstructor DOMError; | 380 // attribute DOMErrorConstructor DOMError; |
381 // attribute DOMErrorHandlerConstructor DOMErrorHandler | 381 // attribute DOMErrorHandlerConstructor DOMErrorHandler |
382 // attribute DOMLocatorConstructor DOMLocator; | 382 // attribute DOMLocatorConstructor DOMLocator; |
383 // attribute DOMConfigurationConstructor DOMConfiguration; | 383 // attribute DOMConfigurationConstructor DOMConfiguration; |
384 attribute CDATASectionConstructor CDATASection; | 384 attribute CDATASectionConstructor CDATASection; |
385 attribute DocumentTypeConstructor DocumentType; | 385 attribute DocumentTypeConstructor DocumentType; |
386 attribute NotationConstructor Notation; | 386 attribute NotationConstructor Notation; |
387 attribute EntityConstructor Entity; | 387 attribute EntityConstructor Entity; |
388 attribute EntityReferenceConstructor EntityReference; | 388 attribute EntityReferenceConstructor EntityReference; |
389 attribute ProcessingInstructionConstructor ProcessingInstruction; | 389 attribute ProcessingInstructionConstructor ProcessingInstruction; |
390 attribute [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] ShadowR
ootConstructor WebKitShadowRoot; | 390 attribute [Conditional=SHADOW_DOM, V8EnabledPerContext=shadowDOM] Shadow
RootConstructor WebKitShadowRoot; |
| 391 attribute [Conditional=SHADOW_DOM, V8EnabledPerContext=shadowDOM] HTMLCo
ntentElementConstructor HTMLContentElement; |
| 392 attribute [Conditional=SHADOW_DOM, V8EnabledPerContext=shadowDOM] HTMLSh
adowElementConstructor HTMLShadowElement; |
391 | 393 |
392 attribute DOMSelectionConstructor Selection; | 394 attribute DOMSelectionConstructor Selection; |
393 attribute DOMWindowConstructor Window; | 395 attribute DOMWindowConstructor Window; |
394 | 396 |
395 attribute HTMLDocumentConstructor HTMLDocument; | 397 attribute HTMLDocumentConstructor HTMLDocument; |
396 attribute HTMLElementConstructor HTMLElement; | 398 attribute HTMLElementConstructor HTMLElement; |
397 attribute HTMLAnchorElementConstructor HTMLAnchorElement; | 399 attribute HTMLAnchorElementConstructor HTMLAnchorElement; |
398 attribute HTMLAppletElementConstructor HTMLAppletElement; | 400 attribute HTMLAppletElementConstructor HTMLAppletElement; |
399 attribute HTMLAreaElementConstructor HTMLAreaElement; | 401 attribute HTMLAreaElementConstructor HTMLAreaElement; |
400 attribute HTMLBRElementConstructor HTMLBRElement; | 402 attribute HTMLBRElementConstructor HTMLBRElement; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceOri
entationEventConstructor DeviceOrientationEvent; | 547 attribute [Conditional=DEVICE_ORIENTATION, V8EnabledAtRuntime] DeviceOri
entationEventConstructor DeviceOrientationEvent; |
546 attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent; | 548 attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent; |
547 attribute StorageEventConstructor StorageEvent; | 549 attribute StorageEventConstructor StorageEvent; |
548 attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechI
nputEvent; | 550 attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechI
nputEvent; |
549 attribute [Conditional=WEBGL] WebGLContextEventConstructor WebGLContextE
vent; | 551 attribute [Conditional=WEBGL] WebGLContextEventConstructor WebGLContextE
vent; |
550 | 552 |
551 attribute EventExceptionConstructor EventException; | 553 attribute EventExceptionConstructor EventException; |
552 | 554 |
553 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; | 555 attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; |
554 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; | 556 attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule; |
555 attribute WebKitCSSRegionRuleConstructor WebKitCSSRegionRule; | 557 attribute [Conditional=CSS_REGIONS] WebKitCSSRegionRuleConstructor WebKi
tCSSRegionRule; |
556 | 558 |
557 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the
new operator | 559 attribute WebKitCSSMatrixConstructor WebKitCSSMatrix; // Usable with the
new operator |
558 | 560 |
559 attribute WebKitPointConstructor WebKitPoint; // Usable with new the ope
rator | 561 attribute WebKitPointConstructor WebKitPoint; // Usable with new the ope
rator |
560 | 562 |
561 attribute ClipboardConstructor Clipboard; | 563 attribute ClipboardConstructor Clipboard; |
562 | 564 |
563 attribute [Conditional=WORKERS] WorkerConstructor Worker; // Usable with
the new operator | 565 attribute [Conditional=WORKERS] WorkerConstructor Worker; // Usable with
the new operator |
564 attribute [Conditional=SHARED_WORKERS, JSCustomGetter, V8EnabledAtRuntim
e] SharedWorkerConstructor SharedWorker; // Usable with the new operator | 566 attribute [Conditional=SHARED_WORKERS, JSCustomGetter, V8EnabledAtRuntim
e] SharedWorkerConstructor SharedWorker; // Usable with the new operator |
565 | 567 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 attribute SVGTextPathElementConstructor SVGTextPathElement; | 703 attribute SVGTextPathElementConstructor SVGTextPathElement; |
702 attribute SVGTextPositioningElementConstructor SVGTextPositioningElement
; | 704 attribute SVGTextPositioningElementConstructor SVGTextPositioningElement
; |
703 attribute SVGTitleElementConstructor SVGTitleElement; | 705 attribute SVGTitleElementConstructor SVGTitleElement; |
704 attribute SVGTransformConstructor SVGTransform; | 706 attribute SVGTransformConstructor SVGTransform; |
705 attribute SVGTransformListConstructor SVGTransformList; | 707 attribute SVGTransformListConstructor SVGTransformList; |
706 attribute SVGTRefElementConstructor SVGTRefElement; | 708 attribute SVGTRefElementConstructor SVGTRefElement; |
707 attribute SVGTSpanElementConstructor SVGTSpanElement; | 709 attribute SVGTSpanElementConstructor SVGTSpanElement; |
708 attribute SVGUnitTypesConstructor SVGUnitTypes; | 710 attribute SVGUnitTypesConstructor SVGUnitTypes; |
709 attribute SVGUseElementConstructor SVGUseElement; | 711 attribute SVGUseElementConstructor SVGUseElement; |
710 attribute SVGViewElementConstructor SVGViewElement; | 712 attribute SVGViewElementConstructor SVGViewElement; |
711 // attribute SVGViewSpecConstructor SVGViewSpec; | 713 attribute SVGViewSpecConstructor SVGViewSpec; |
| 714 attribute SVGZoomAndPanConstructor SVGZoomAndPan; |
712 | 715 |
713 attribute SVGAnimateColorElementConstructor SVGAnimateColorElement; | 716 attribute SVGAnimateColorElementConstructor SVGAnimateColorElement; |
714 attribute SVGAnimateElementConstructor SVGAnimateElement; | 717 attribute SVGAnimateElementConstructor SVGAnimateElement; |
715 attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement; | 718 attribute SVGAnimateMotionElementConstructor SVGAnimateMotionElement; |
716 attribute SVGAnimateTransformElementConstructor SVGAnimateTransformEleme
nt; | 719 attribute SVGAnimateTransformElementConstructor SVGAnimateTransformEleme
nt; |
717 attribute SVGMPathElementConstructor SVGMPathElement; | 720 attribute SVGMPathElementConstructor SVGMPathElement; |
718 attribute SVGSetElementConstructor SVGSetElement; | 721 attribute SVGSetElementConstructor SVGSetElement; |
719 | 722 |
720 #if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS | 723 #if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS |
721 attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement; | 724 attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 #endif // defined(LANGUAGE_JAVASCRIPT) | 787 #endif // defined(LANGUAGE_JAVASCRIPT) |
785 | 788 |
786 #if defined(V8_BINDING) && V8_BINDING | 789 #if defined(V8_BINDING) && V8_BINDING |
787 // window.toString() requires special handling in V8 | 790 // window.toString() requires special handling in V8 |
788 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt
ring toString(); | 791 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt
ring toString(); |
789 #endif // defined(V8_BINDING) | 792 #endif // defined(V8_BINDING) |
790 }; | 793 }; |
791 | 794 |
792 } | 795 } |
793 | 796 |
OLD | NEW |