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