| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008 Apple 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 11 matching lines...) Expand all Loading... |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 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. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 module svg { | 27 module svg { |
| 28 | 28 |
| 29 interface [ | 29 interface [ |
| 30 Conditional=SVG, | 30 Conditional=SVG, |
| 31 JSCustomMarkFunction, | 31 JSCustomMarkFunction, |
| 32 JSGenerateToNativeObject | 32 JSGenerateToNativeObject, |
| 33 JSGenerateToJSObject |
| 33 ] SVGElementInstance | 34 ] SVGElementInstance |
| 34 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 35 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 35 : Object, EventTarget | 36 : Object, EventTarget |
| 37 #else |
| 38 : EventTarget |
| 36 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ | 39 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ |
| 37 { | 40 { |
| 38 readonly attribute SVGElement correspondingElement; | 41 readonly attribute SVGElement correspondingElement; |
| 39 readonly attribute SVGUseElement correspondingUseElement; | 42 readonly attribute SVGUseElement correspondingUseElement; |
| 40 readonly attribute SVGElementInstance parentNode; | 43 readonly attribute SVGElementInstance parentNode; |
| 41 readonly attribute SVGElementInstanceList childNodes; | 44 readonly attribute SVGElementInstanceList childNodes; |
| 42 readonly attribute SVGElementInstance firstChild; | 45 readonly attribute SVGElementInstance firstChild; |
| 43 readonly attribute SVGElementInstance lastChild; | 46 readonly attribute SVGElementInstance lastChild; |
| 44 readonly attribute SVGElementInstance previousSibling; | 47 readonly attribute SVGElementInstance previousSibling; |
| 45 readonly attribute SVGElementInstance nextSibling; | 48 readonly attribute SVGElementInstance nextSibling; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 attribute [NotEnumerable] EventListener ondrag; | 82 attribute [NotEnumerable] EventListener ondrag; |
| 80 attribute [NotEnumerable] EventListener ondragend; | 83 attribute [NotEnumerable] EventListener ondragend; |
| 81 attribute [NotEnumerable] EventListener onreset; | 84 attribute [NotEnumerable] EventListener onreset; |
| 82 attribute [NotEnumerable] EventListener onresize; | 85 attribute [NotEnumerable] EventListener onresize; |
| 83 attribute [NotEnumerable] EventListener onscroll; | 86 attribute [NotEnumerable] EventListener onscroll; |
| 84 attribute [NotEnumerable] EventListener onsearch; | 87 attribute [NotEnumerable] EventListener onsearch; |
| 85 attribute [NotEnumerable] EventListener onselect; | 88 attribute [NotEnumerable] EventListener onselect; |
| 86 attribute [NotEnumerable] EventListener onselectstart; | 89 attribute [NotEnumerable] EventListener onselectstart; |
| 87 attribute [NotEnumerable] EventListener onsubmit; | 90 attribute [NotEnumerable] EventListener onsubmit; |
| 88 attribute [NotEnumerable] EventListener onunload; | 91 attribute [NotEnumerable] EventListener onunload; |
| 89 | |
| 90 void addEventListener(in DOMString type, | |
| 91 in EventListener listener, | |
| 92 in [Optional] boolean useCapture); | |
| 93 void removeEventListener(in DOMString type, | |
| 94 in EventListener listener, | |
| 95 in [Optional] boolean useCapture); | |
| 96 boolean dispatchEvent(in Event event) | |
| 97 raises(EventException); | |
| 98 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ | 92 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ |
| 99 }; | 93 }; |
| 100 } | 94 } |
| OLD | NEW |