| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // [Custom] long setTimeout(in DOMString code, in long timeout); | 209 // [Custom] long setTimeout(in DOMString code, in long timeout); |
| 210 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); | 210 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); |
| 211 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); | 211 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); |
| 212 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arg
uments...); | 212 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout, arg
uments...); |
| 213 // [Custom] long setInterval(in DOMString code, in long timeout); | 213 // [Custom] long setInterval(in DOMString code, in long timeout); |
| 214 void clearInterval(in [Optional=DefaultIsUndefined] long handle); | 214 void clearInterval(in [Optional=DefaultIsUndefined] long handle); |
| 215 | 215 |
| 216 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME | 216 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME |
| 217 [V8MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(in
[Callback] RequestAnimationFrameCallback callback); | 217 [V8MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(in
[Callback] RequestAnimationFrameCallback callback); |
| 218 void cancelAnimationFrame(in long id); | 218 void cancelAnimationFrame(in long id); |
| 219 [ImplementedAs=requestAnimationFrame, V8MeasureAs=PrefixedRequestAnimationFr
ame] long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCallbac
k callback); | 219 [V8MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame
(in [Callback] RequestAnimationFrameCallback callback); |
| 220 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(in long
id); | 220 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(in long
id); |
| 221 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(
in long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Rem
ove this when removing vendor prefix. | 221 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame(
in long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Rem
ove this when removing vendor prefix. |
| 222 #endif | 222 #endif |
| 223 | 223 |
| 224 // Base64 | 224 // Base64 |
| 225 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMSt
ring string) | 225 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMSt
ring string) |
| 226 raises(DOMException); | 226 raises(DOMException); |
| 227 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMSt
ring string) | 227 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMSt
ring string) |
| 228 raises(DOMException); | 228 raises(DOMException); |
| 229 | 229 |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; | 801 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; |
| 802 | 802 |
| 803 #endif // defined(LANGUAGE_JAVASCRIPT) | 803 #endif // defined(LANGUAGE_JAVASCRIPT) |
| 804 | 804 |
| 805 #if defined(V8_BINDING) && V8_BINDING | 805 #if defined(V8_BINDING) && V8_BINDING |
| 806 // window.toString() requires special handling in V8 | 806 // window.toString() requires special handling in V8 |
| 807 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); | 807 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); |
| 808 #endif // defined(V8_BINDING) | 808 #endif // defined(V8_BINDING) |
| 809 }; | 809 }; |
| 810 | 810 |
| OLD | NEW |