| 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) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 in UserDataHandler handler); | 129 in UserDataHandler handler); |
| 130 DOMUserData getUserData(in DOMString key); | 130 DOMUserData getUserData(in DOMString key); |
| 131 #endif /* 0 */ | 131 #endif /* 0 */ |
| 132 | 132 |
| 133 // IE extensions | 133 // IE extensions |
| 134 readonly attribute Element parentElement; | 134 readonly attribute Element parentElement; |
| 135 | 135 |
| 136 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 136 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 137 // Objective-C extensions | 137 // Objective-C extensions |
| 138 readonly attribute boolean isContentEditable; | 138 readonly attribute boolean isContentEditable; |
| 139 |
| 140 void inspect(); |
| 139 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ | 141 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ |
| 140 | 142 |
| 141 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP | 143 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP |
| 142 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 144 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 143 void addEventListener(in DOMString type, | 145 void addEventListener(in DOMString type, |
| 144 in EventListener listener, | 146 in EventListener listener, |
| 145 in [Optional] boolean useCapture); | 147 in [Optional] boolean useCapture); |
| 146 void removeEventListener(in DOMString type, | 148 void removeEventListener(in DOMString type, |
| 147 in EventListener listener, | 149 in EventListener listener, |
| 148 in [Optional] boolean useCapture); | 150 in [Optional] boolean useCapture); |
| 149 boolean dispatchEvent(in Event event) | 151 boolean dispatchEvent(in Event event) |
| 150 raises(EventException); | 152 raises(EventException); |
| 151 #endif | 153 #endif |
| 152 #endif | 154 #endif |
| 153 | 155 |
| 154 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP | 156 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP |
| 155 [Custom] void addEventListener(in DOMString type, | 157 [Custom] void addEventListener(in DOMString type, |
| 156 in EventListener listener, | 158 in EventListener listener, |
| 157 in boolean useCapture); | 159 in boolean useCapture); |
| 158 [Custom] void removeEventListener(in DOMString type, | 160 [Custom] void removeEventListener(in DOMString type, |
| 159 in EventListener listener, | 161 in EventListener listener, |
| 160 in boolean useCapture); | 162 in boolean useCapture); |
| 161 boolean dispatchEvent(in Event event) | 163 boolean dispatchEvent(in Event event) |
| 162 raises(EventException); | 164 raises(EventException); |
| 163 #endif | 165 #endif |
| 164 | 166 |
| 165 }; | 167 }; |
| 166 | 168 |
| 167 } | 169 } |
| OLD | NEW |