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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr
iptValue message, DOMString targetOrigin, optional Array messagePorts); | 167 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr
iptValue message, DOMString targetOrigin, optional Array messagePorts); |
168 | 168 |
169 [Replaceable] readonly attribute Performance performance; | 169 [Replaceable] readonly attribute Performance performance; |
170 | 170 |
171 // Timers | 171 // Timers |
172 [Custom] long setTimeout(any handler, [Default=Undefined] optional long time
out); | 172 [Custom] long setTimeout(any handler, [Default=Undefined] optional long time
out); |
173 void clearTimeout([Default=Undefined] optional long handle); | 173 void clearTimeout([Default=Undefined] optional long handle); |
174 [Custom] long setInterval(any handler, [Default=Undefined] optional long tim
eout); | 174 [Custom] long setInterval(any handler, [Default=Undefined] optional long tim
eout); |
175 void clearInterval([Default=Undefined] optional long handle); | 175 void clearInterval([Default=Undefined] optional long handle); |
176 | 176 |
177 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame([Call
back] RequestAnimationFrameCallback callback); | 177 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque
stAnimationFrameCallback callback); |
178 void cancelAnimationFrame(long id); | 178 void cancelAnimationFrame(long id); |
179 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame([
Callback] RequestAnimationFrameCallback 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 | 183 // Base64 |
184 [RaisesException] DOMString atob([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); | 184 [RaisesException] DOMString atob([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); |
185 [RaisesException] DOMString btoa([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); | 185 [RaisesException] DOMString btoa([TreatNullAs=NullString,Default=Undefined]
optional DOMString string); |
186 | 186 |
187 [Replaceable] attribute DOMWindowCSS CSS; | 187 [Replaceable] attribute DOMWindowCSS CSS; |
188 | 188 |
189 // Events | 189 // Events |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 attribute MutationRecordConstructor MutationRecord; | 750 attribute MutationRecordConstructor MutationRecord; |
751 | 751 |
752 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; | 752 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS
ource; |
753 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; | 753 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc
eBuffer; |
754 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; | 754 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS
ourceBufferList; |
755 | 755 |
756 // window.toString() requires special handling in V8 | 756 // window.toString() requires special handling in V8 |
757 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 757 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
758 }; | 758 }; |
759 | 759 |
OLD | NEW |