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 [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); | 198 [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=U
ndefined] optional long x, [Default=Undefined] optional long y); |
200 | 199 |
201 // Deprecated prefixed page visibility API. | 200 // Deprecated prefixed page visibility API. |
202 // TODO(davidben): This is a property so attaching a deprecation warning res
ults in false positives when outputting | 201 // 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. | 202 // 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; | 203 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a
ttribute DOMString webkitVisibilityState; |
205 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; | 204 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute
boolean webkitHidden; |
206 | 205 |
207 // Event handler attributes | 206 // Event handler attributes |
208 attribute EventHandler onbeforecopy; | 207 attribute EventHandler onbeforecopy; |
209 attribute EventHandler onbeforecut; | 208 attribute EventHandler onbeforecut; |
210 attribute EventHandler onbeforepaste; | 209 attribute EventHandler onbeforepaste; |
211 attribute EventHandler oncopy; | 210 attribute EventHandler oncopy; |
212 attribute EventHandler oncut; | 211 attribute EventHandler oncut; |
213 attribute EventHandler onpaste; | 212 attribute EventHandler onpaste; |
214 attribute EventHandler onsearch; | 213 attribute EventHandler onsearch; |
215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; | 214 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa
ndler onsecuritypolicyviolation; |
216 attribute EventHandler onselectionchange; | 215 attribute EventHandler onselectionchange; |
217 attribute EventHandler onselectstart; | 216 attribute EventHandler onselectstart; |
218 attribute EventHandler onwheel; | 217 attribute EventHandler onwheel; |
219 }; | 218 }; |
220 | 219 |
221 Document implements GlobalEventHandlers; | 220 Document implements GlobalEventHandlers; |
222 Document implements ParentNode; | 221 Document implements ParentNode; |
223 Document implements NonElementParentNode; | 222 Document implements NonElementParentNode; |
OLD | NEW |