| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 attribute EventListener ontransitionend; | 265 attribute EventListener ontransitionend; |
| 266 [Conditional=ORIENTATION_EVENTS] attribute EventListener onorientationchange
; | 266 [Conditional=ORIENTATION_EVENTS] attribute EventListener onorientationchange
; |
| 267 [EnabledAtRuntime=touch] attribute EventListener ontouchstart; | 267 [EnabledAtRuntime=touch] attribute EventListener ontouchstart; |
| 268 [EnabledAtRuntime=touch] attribute EventListener ontouchmove; | 268 [EnabledAtRuntime=touch] attribute EventListener ontouchmove; |
| 269 [EnabledAtRuntime=touch] attribute EventListener ontouchend; | 269 [EnabledAtRuntime=touch] attribute EventListener ontouchend; |
| 270 [EnabledAtRuntime=touch] attribute EventListener ontouchcancel; | 270 [EnabledAtRuntime=touch] attribute EventListener ontouchcancel; |
| 271 | 271 |
| 272 [EnabledAtRuntime=deviceMotion] attribute EventListener ondevicemotion; | 272 [EnabledAtRuntime=deviceMotion] attribute EventListener ondevicemotion; |
| 273 [EnabledAtRuntime=deviceOrientation] attribute EventListener ondeviceorienta
tion; | 273 [EnabledAtRuntime=deviceOrientation] attribute EventListener ondeviceorienta
tion; |
| 274 | 274 |
| 275 [DeprecateAs=CaptureEvents] void captureEvents(); |
| 276 [DeprecateAs=ReleaseEvents] void releaseEvents(); |
| 277 |
| 275 // Additional constructors. | 278 // Additional constructors. |
| 276 attribute TransitionEventConstructor WebKitTransitionEvent; | 279 attribute TransitionEventConstructor WebKitTransitionEvent; |
| 277 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator | 280 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image;
// Usable with new operator |
| 278 // Mozilla has a separate XMLDocument object for XML documents. | 281 // Mozilla has a separate XMLDocument object for XML documents. |
| 279 // We just use Document for this. | 282 // We just use Document for this. |
| 280 attribute DocumentConstructor XMLDocument; | 283 attribute DocumentConstructor XMLDocument; |
| 281 attribute URLConstructor webkitURL; // FIXME: deprecate this. | 284 attribute URLConstructor webkitURL; // FIXME: deprecate this. |
| 282 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. | 285 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add
metrics to determine when we can remove this. |
| 283 attribute IDBCursorConstructor webkitIDBCursor; | 286 attribute IDBCursorConstructor webkitIDBCursor; |
| 284 attribute IDBDatabaseConstructor webkitIDBDatabase; | 287 attribute IDBDatabaseConstructor webkitIDBDatabase; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 305 | 308 |
| 306 // window.toString() requires special handling in V8 | 309 // window.toString() requires special handling in V8 |
| 307 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 310 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
| 308 | 311 |
| 309 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); | 312 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); |
| 310 [Custom, NotEnumerable] getter Window (DOMString name); | 313 [Custom, NotEnumerable] getter Window (DOMString name); |
| 311 }; | 314 }; |
| 312 | 315 |
| 313 Window implements WindowTimers; | 316 Window implements WindowTimers; |
| 314 Window implements WindowBase64; | 317 Window implements WindowBase64; |
| OLD | NEW |