| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageData data, ImageBitmapCallback callback, long sx, long sy, long s
w, long sh); | 173 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageData data, ImageBitmapCallback callback, long sx, long sy, long s
w, long sh); |
| 174 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageBitmap bitmap, ImageBitmapCallback callback); | 174 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageBitmap bitmap, ImageBitmapCallback callback); |
| 175 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageBitmap bitmap, ImageBitmapCallback callback, long sx, long sy, lo
ng sw, long sh); | 175 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void createIm
ageBitmap(ImageBitmap bitmap, ImageBitmapCallback callback, long sx, long sy, lo
ng sw, long sh); |
| 176 | 176 |
| 177 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); | 177 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); |
| 178 void cancelAnimationFrame(long id); | 178 void cancelAnimationFrame(long id); |
| 179 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R
equestAnimationFrameCallback callback); | 179 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R
equestAnimationFrameCallback callback); |
| 180 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id
); | 180 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id
); |
| 181 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(
long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove
this when removing vendor prefix. | 181 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(
long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove
this when removing vendor prefix. |
| 182 | 182 |
| 183 // Base64 | |
| 184 [RaisesException] DOMString atob([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); | |
| 185 [RaisesException] DOMString btoa([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); | |
| 186 | |
| 187 [Replaceable] readonly attribute CSS CSS; | 183 [Replaceable] readonly attribute CSS CSS; |
| 188 | 184 |
| 189 // Events | 185 // Events |
| 190 attribute EventListener onabort; | 186 attribute EventListener onabort; |
| 191 attribute EventListener onbeforeunload; | 187 attribute EventListener onbeforeunload; |
| 192 attribute EventListener onblur; | 188 attribute EventListener onblur; |
| 193 attribute EventListener oncanplay; | 189 attribute EventListener oncanplay; |
| 194 attribute EventListener oncanplaythrough; | 190 attribute EventListener oncanplaythrough; |
| 195 attribute EventListener onchange; | 191 attribute EventListener onchange; |
| 196 attribute EventListener onclick; | 192 attribute EventListener onclick; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; | 304 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; |
| 309 | 305 |
| 310 // window.toString() requires special handling in V8 | 306 // window.toString() requires special handling in V8 |
| 311 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 307 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
| 312 | 308 |
| 313 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); | 309 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); |
| 314 [Custom, NotEnumerable] getter Window (DOMString name); | 310 [Custom, NotEnumerable] getter Window (DOMString name); |
| 315 }; | 311 }; |
| 316 | 312 |
| 317 Window implements WindowTimers; | 313 Window implements WindowTimers; |
| 318 | 314 Window implements WindowBase64; |
| OLD | NEW |