OLD | NEW |
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // FIXME: The typeExtension arguments should not be nullable. | 188 // FIXME: The typeExtension arguments should not be nullable. |
189 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, DOMString? typeExtension); | 189 [CustomElementCallbacks, PerWorldBindings, RaisesException] Element createEl
ement(DOMString localName, DOMString? typeExtension); |
190 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, DOMString? typeExtension); | 190 [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString?
namespaceURI, DOMString qualifiedName, DOMString? typeExtension); |
191 | 191 |
192 // Page Visibility | 192 // Page Visibility |
193 // http://www.w3.org/TR/page-visibility/#sec-document-interface | 193 // http://www.w3.org/TR/page-visibility/#sec-document-interface |
194 readonly attribute boolean hidden; | 194 readonly attribute boolean hidden; |
195 readonly attribute VisibilityState visibilityState; | 195 readonly attribute VisibilityState visibilityState; |
196 | 196 |
197 // Non-standard APIs | 197 // Non-standard APIs |
198 [MeasureAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] read
only attribute DOMString defaultCharset; | 198 [DeprecateAs=DocumentDefaultCharset, TreatReturnedNullStringAs=Undefined] re
adonly attribute DOMString defaultCharset; |
199 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); | 199 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); |
200 | 200 |
201 // Deprecated prefixed page visibility API. | 201 // Deprecated prefixed page visibility API. |
202 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 202 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting |
203 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. | 203 // document in the console. It's possible http://crbug.com/43394 will resolv
e this. |
204 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; | 204 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
205 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 205 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
206 | 206 |
207 // Event handler attributes | 207 // Event handler attributes |
208 attribute EventHandler onbeforecopy; | 208 attribute EventHandler onbeforecopy; |
209 attribute EventHandler onbeforecut; | 209 attribute EventHandler onbeforecut; |
210 attribute EventHandler onbeforepaste; | 210 attribute EventHandler onbeforepaste; |
211 attribute EventHandler oncopy; | 211 attribute EventHandler oncopy; |
212 attribute EventHandler oncut; | 212 attribute EventHandler oncut; |
213 attribute EventHandler onpaste; | 213 attribute EventHandler onpaste; |
214 attribute EventHandler onsearch; | 214 attribute EventHandler onsearch; |
215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
216 attribute EventHandler onselectionchange; | 216 attribute EventHandler onselectionchange; |
217 attribute EventHandler onselectstart; | 217 attribute EventHandler onselectstart; |
218 attribute EventHandler onwheel; | 218 attribute EventHandler onwheel; |
219 }; | 219 }; |
220 | 220 |
221 Document implements GlobalEventHandlers; | 221 Document implements GlobalEventHandlers; |
222 Document implements ParentNode; | 222 Document implements ParentNode; |
223 Document implements NonElementParentNode; | 223 Document implements NonElementParentNode; |
OLD | NEW |