| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 attribute EventHandler onwebkitanimationstart; | 185 attribute EventHandler onwebkitanimationstart; |
| 186 attribute EventHandler onwebkittransitionend; | 186 attribute EventHandler onwebkittransitionend; |
| 187 attribute EventHandler onwheel; | 187 attribute EventHandler onwheel; |
| 188 | 188 |
| 189 [MeasureAs=WindowCaptureEvents] void captureEvents(); | 189 [MeasureAs=WindowCaptureEvents] void captureEvents(); |
| 190 [MeasureAs=WindowReleaseEvents] void releaseEvents(); | 190 [MeasureAs=WindowReleaseEvents] void releaseEvents(); |
| 191 | 191 |
| 192 // Additional constructors. | 192 // Additional constructors. |
| 193 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; | 193 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; |
| 194 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; | 194 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; |
| 195 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME:
deprecate this. | 195 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; |
| 196 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; | 196 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; |
| 197 | 197 |
| 198 // window.toString() requires special handling in V8 | 198 // window.toString() requires special handling in V8 |
| 199 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; | 199 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier
; |
| 200 | 200 |
| 201 [NotEnumerable] getter Window (unsigned long index); | 201 [NotEnumerable] getter Window (unsigned long index); |
| 202 [Custom, NotEnumerable] getter Window (DOMString name); | 202 [Custom, NotEnumerable] getter Window (DOMString name); |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects | 205 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects |
| 206 // | 206 // |
| 207 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. | 207 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176
. |
| 208 // The postMessage() methods taking a Transferable array argument have custom | 208 // The postMessage() methods taking a Transferable array argument have custom |
| 209 // binding code that is able to handle the Transferables that we currently | 209 // binding code that is able to handle the Transferables that we currently |
| 210 // recognize. To be able to declare a postMessage() signature that matches | 210 // recognize. To be able to declare a postMessage() signature that matches |
| 211 // the implementation, we provide a Transferable typedef but with an | 211 // the implementation, we provide a Transferable typedef but with an |
| 212 // incomplete type. | 212 // incomplete type. |
| 213 // | 213 // |
| 214 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 214 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 215 // is in place. | 215 // is in place. |
| 216 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 216 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 217 // utility type definitions. | 217 // utility type definitions. |
| 218 typedef MessagePort Transferable; | 218 typedef MessagePort Transferable; |
| 219 | 219 |
| 220 Window implements GlobalEventHandlers; | 220 Window implements GlobalEventHandlers; |
| 221 Window implements WindowBase64; | 221 Window implements WindowBase64; |
| 222 Window implements WindowEventHandlers; | 222 Window implements WindowEventHandlers; |
| 223 Window implements WindowTimers; | 223 Window implements WindowTimers; |
| OLD | NEW |