| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout,
arguments...); | 206 // [Custom] long setTimeout(in TimeoutHandler handler, in long timeout,
arguments...); |
| 207 // [Custom] long setTimeout(in DOMString code, in long timeout); | 207 // [Custom] long setTimeout(in DOMString code, in long timeout); |
| 208 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); | 208 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); |
| 209 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); | 209 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); |
| 210 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout,
arguments...); | 210 // [Custom] long setInterval(in TimeoutHandler handler, in long timeout,
arguments...); |
| 211 // [Custom] long setInterval(in DOMString code, in long timeout); | 211 // [Custom] long setInterval(in DOMString code, in long timeout); |
| 212 void clearInterval(in [Optional=DefaultIsUndefined] long handle); | 212 void clearInterval(in [Optional=DefaultIsUndefined] long handle); |
| 213 | 213 |
| 214 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) | 214 #if defined(ENABLE_REQUEST_ANIMATION_FRAME) |
| 215 // WebKit animation extensions, being standardized in the WebPerf WG | 215 // WebKit animation extensions, being standardized in the WebPerf WG |
| 216 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall
back callback, in [Optional=DefaultIsUndefined] Element element); | 216 long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCall
back callback); |
| 217 void webkitCancelAnimationFrame(in long id); | 217 void webkitCancelAnimationFrame(in long id); |
| 218 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca
ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre
fix. | 218 void webkitCancelRequestAnimationFrame(in long id); // This is a depreca
ted alias for webkitCancelAnimationFrame(). Remove this when removing vendor pre
fix. |
| 219 #endif | 219 #endif |
| 220 | 220 |
| 221 // Base64 | 221 // Base64 |
| 222 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D
OMString string) | 222 DOMString atob(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D
OMString string) |
| 223 raises(DOMException); | 223 raises(DOMException); |
| 224 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D
OMString string) | 224 DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] D
OMString string) |
| 225 raises(DOMException); | 225 raises(DOMException); |
| 226 | 226 |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 #endif // defined(LANGUAGE_JAVASCRIPT) | 778 #endif // defined(LANGUAGE_JAVASCRIPT) |
| 779 | 779 |
| 780 #if defined(V8_BINDING) && V8_BINDING | 780 #if defined(V8_BINDING) && V8_BINDING |
| 781 // window.toString() requires special handling in V8 | 781 // window.toString() requires special handling in V8 |
| 782 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt
ring toString(); | 782 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMSt
ring toString(); |
| 783 #endif // defined(V8_BINDING) | 783 #endif // defined(V8_BINDING) |
| 784 }; | 784 }; |
| 785 | 785 |
| 786 } | 786 } |
| 787 | 787 |
| OLD | NEW |