| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // FIXME: remove the these two versions once [Optional] is implemented f
or Objective-C. | 134 // FIXME: remove the these two versions once [Optional] is implemented f
or Objective-C. |
| 135 boolean execCommand(in DOMString command, | 135 boolean execCommand(in DOMString command, |
| 136 in boolean userInterface); | 136 in boolean userInterface); |
| 137 boolean execCommand(in DOMString command); | 137 boolean execCommand(in DOMString command); |
| 138 #endif | 138 #endif |
| 139 | 139 |
| 140 boolean queryCommandEnabled(in [Optional=DefaultIsUndefined]
DOMString command); | 140 boolean queryCommandEnabled(in [Optional=DefaultIsUndefined]
DOMString command); |
| 141 boolean queryCommandIndeterm(in [Optional=DefaultIsUndefined]
DOMString command); | 141 boolean queryCommandIndeterm(in [Optional=DefaultIsUndefined]
DOMString command); |
| 142 boolean queryCommandState(in [Optional=DefaultIsUndefined] DO
MString command); | 142 boolean queryCommandState(in [Optional=DefaultIsUndefined] DO
MString command); |
| 143 boolean queryCommandSupported(in [Optional=DefaultIsUndefined
] DOMString command); | 143 boolean queryCommandSupported(in [Optional=DefaultIsUndefined
] DOMString command); |
| 144 [TreatReturnedNullStringAs=False] DOMString queryCommandValue(in [Option
al=DefaultIsUndefined] DOMString command); | 144 DOMString queryCommandValue(in [Optional=DefaultIsUndefined] DO
MString command); |
| 145 | 145 |
| 146 // Moved down from HTMLDocument | 146 // Moved down from HTMLDocument |
| 147 | 147 |
| 148 attribute [TreatNullAs=NullString] DOMString title; | 148 attribute [TreatNullAs=NullString] DOMString title; |
| 149 readonly attribute DOMString referrer; | 149 readonly attribute DOMString referrer; |
| 150 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 150 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
| 151 attribute [TreatNullAs=NullString] DOMString domain | 151 attribute [TreatNullAs=NullString] DOMString domain |
| 152 setter raises (DOMException); | 152 setter raises (DOMException); |
| 153 #else | 153 #else |
| 154 readonly attribute DOMString domain; | 154 readonly attribute DOMString domain; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 readonly attribute [V8EnabledAtRuntime] boolean webkitFullScreenKeyboard
InputAllowed; | 246 readonly attribute [V8EnabledAtRuntime] boolean webkitFullScreenKeyboard
InputAllowed; |
| 247 readonly attribute [V8EnabledAtRuntime] Element webkitCurrentFullScreenE
lement; | 247 readonly attribute [V8EnabledAtRuntime] Element webkitCurrentFullScreenE
lement; |
| 248 [V8EnabledAtRuntime] void webkitCancelFullScreen(); | 248 [V8EnabledAtRuntime] void webkitCancelFullScreen(); |
| 249 | 249 |
| 250 // W3C version | 250 // W3C version |
| 251 readonly attribute [V8EnabledAtRuntime] boolean webkitFullscreenEnabled; | 251 readonly attribute [V8EnabledAtRuntime] boolean webkitFullscreenEnabled; |
| 252 readonly attribute [V8EnabledAtRuntime] Element webkitFullscreenElement; | 252 readonly attribute [V8EnabledAtRuntime] Element webkitFullscreenElement; |
| 253 [V8EnabledAtRuntime] void webkitExitFullscreen(); | 253 [V8EnabledAtRuntime] void webkitExitFullscreen(); |
| 254 #endif | 254 #endif |
| 255 | 255 |
| 256 #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS |
| 256 WebKitNamedFlow webkitGetFlowByName(in DOMString name); | 257 WebKitNamedFlow webkitGetFlowByName(in DOMString name); |
| 258 #endif |
| 257 | 259 |
| 258 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 260 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 259 // Event handler DOM attributes | 261 // Event handler DOM attributes |
| 260 attribute [NotEnumerable] EventListener onabort; | 262 attribute [NotEnumerable] EventListener onabort; |
| 261 attribute [NotEnumerable] EventListener onblur; | 263 attribute [NotEnumerable] EventListener onblur; |
| 262 attribute [NotEnumerable] EventListener onchange; | 264 attribute [NotEnumerable] EventListener onchange; |
| 263 attribute [NotEnumerable] EventListener onclick; | 265 attribute [NotEnumerable] EventListener onclick; |
| 264 attribute [NotEnumerable] EventListener oncontextmenu; | 266 attribute [NotEnumerable] EventListener oncontextmenu; |
| 265 attribute [NotEnumerable] EventListener ondblclick; | 267 attribute [NotEnumerable] EventListener ondblclick; |
| 266 attribute [NotEnumerable] EventListener ondrag; | 268 attribute [NotEnumerable] EventListener ondrag; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 boolean isHTMLDocument(); | 354 boolean isHTMLDocument(); |
| 353 #endif | 355 #endif |
| 354 | 356 |
| 355 // Page visibility API. | 357 // Page visibility API. |
| 356 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; | 358 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; |
| 357 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; | 359 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; |
| 358 | 360 |
| 359 }; | 361 }; |
| 360 | 362 |
| 361 } | 363 } |
| OLD | NEW |