Chromium Code Reviews| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 91 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element el ement, | 91 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element el ement, |
| 92 [Default=Undefined] optional DOMString pseudoElement); | 92 [Default=Undefined] optional DOMString pseudoElement); |
| 93 | 93 |
| 94 // DOM 4 | 94 // DOM 4 |
| 95 readonly attribute DOMString contentType; | 95 readonly attribute DOMString contentType; |
| 96 | 96 |
| 97 // Common extensions | 97 // Common extensions |
| 98 [CustomElementCallbacks] | 98 [CustomElementCallbacks] |
| 99 boolean execCommand([Default=Undefined] optional DOMString comman d, | 99 boolean execCommand([Default=Undefined] optional DOMString comman d, |
| 100 [Default=Undefined] optional boolean userInte rface, | 100 [Default=Undefined] optional boolean userInte rface, |
| 101 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString value); | 101 [TreatUndefinedAs=NullString, Default=Undefin ed] optional DOMString? value); |
|
Jens Widell
2014/07/02 12:42:20
If we fix http://crbug.com/335871, then in terms o
haraken
2014/07/02 12:50:27
Yeah, it's worth fixing.
| |
| 102 | 102 |
| 103 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command); | 103 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command); |
| 104 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command); | 104 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command); |
| 105 boolean queryCommandState([Default=Undefined] optional DOMString command); | 105 boolean queryCommandState([Default=Undefined] optional DOMString command); |
| 106 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command); | 106 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command); |
| 107 DOMString queryCommandValue([Default=Undefined] optional DOMString command); | 107 DOMString queryCommandValue([Default=Undefined] optional DOMString command); |
| 108 | 108 |
| 109 // Moved down from HTMLDocument | 109 // Moved down from HTMLDocument |
| 110 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir; | 110 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir; |
| 111 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode; | 111 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 216 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting | 216 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting |
| 217 // document in the console. It's possible http://crbug.com/43394 will resolv e this. | 217 // document in the console. It's possible http://crbug.com/43394 will resolv e this. |
| 218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; | 218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; |
| 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; | 219 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; |
| 220 | 220 |
| 221 readonly attribute HTMLScriptElement currentScript; | 221 readonly attribute HTMLScriptElement currentScript; |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 Document implements GlobalEventHandlers; | 224 Document implements GlobalEventHandlers; |
| 225 Document implements ParentNode; | 225 Document implements ParentNode; |
| OLD | NEW |