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