| 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 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 [ | 27 [ |
| 28 CheckSecurity, | 28 CheckSecurity, |
| 29 EventTarget, | 29 EventTarget, |
| 30 CustomToV8, | 30 CustomToV8, |
| 31 CustomNamedGetter, | |
| 32 DoNotGenerateWrap, | 31 DoNotGenerateWrap, |
| 33 InterfaceName=Window | 32 InterfaceName=Window |
| 34 ] interface DOMWindow { | 33 ] interface DOMWindow { |
| 35 // DOM Level 0 | 34 // DOM Level 0 |
| 36 [Replaceable] readonly attribute Screen screen; | 35 [Replaceable] readonly attribute Screen screen; |
| 37 [Replaceable] readonly attribute History history; | 36 [Replaceable] readonly attribute History history; |
| 38 [Replaceable] readonly attribute BarProp locationbar; | 37 [Replaceable] readonly attribute BarProp locationbar; |
| 39 [Replaceable] readonly attribute BarProp menubar; | 38 [Replaceable] readonly attribute BarProp menubar; |
| 40 [Replaceable] readonly attribute BarProp personalbar; | 39 [Replaceable] readonly attribute BarProp personalbar; |
| 41 [Replaceable] readonly attribute BarProp scrollbars; | 40 [Replaceable] readonly attribute BarProp scrollbars; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 attribute IDBFactoryConstructor webkitIDBFactory; | 294 attribute IDBFactoryConstructor webkitIDBFactory; |
| 296 attribute IDBIndexConstructor webkitIDBIndex; | 295 attribute IDBIndexConstructor webkitIDBIndex; |
| 297 attribute IDBKeyRangeConstructor webkitIDBKeyRange; | 296 attribute IDBKeyRangeConstructor webkitIDBKeyRange; |
| 298 attribute IDBObjectStoreConstructor webkitIDBObjectStore; | 297 attribute IDBObjectStoreConstructor webkitIDBObjectStore; |
| 299 attribute IDBRequestConstructor webkitIDBRequest; | 298 attribute IDBRequestConstructor webkitIDBRequest; |
| 300 attribute IDBTransactionConstructor webkitIDBTransaction; | 299 attribute IDBTransactionConstructor webkitIDBTransaction; |
| 301 | 300 |
| 302 // Constructors enabled at runtime but whose interface does not have Enabled
AtRuntime | 301 // Constructors enabled at runtime but whose interface does not have Enabled
AtRuntime |
| 303 // extended attribute. | 302 // extended attribute. |
| 304 // FIXME: Remove these. | 303 // FIXME: Remove these. |
| 305 [EnabledAtRuntime=media] attribute HTMLMediaElementConstructor HTMLMediaElem
ent; | |
| 306 [EnabledAtRuntime=media] attribute HTMLVideoElementConstructor HTMLVideoElem
ent; | |
| 307 [EnabledAtRuntime=media] attribute MediaErrorConstructor MediaError; | 304 [EnabledAtRuntime=media] attribute MediaErrorConstructor MediaError; |
| 308 [EnabledAtRuntime=media] attribute TimeRangesConstructor TimeRanges; | 305 [EnabledAtRuntime=media] attribute TimeRangesConstructor TimeRanges; |
| 309 [EnabledAtRuntime=media] attribute HTMLSourceElementConstructor HTMLSourceEl
ement; | 306 [EnabledAtRuntime=media] attribute HTMLSourceElementConstructor HTMLSourceEl
ement; |
| 310 [EnabledAtRuntime=media] attribute MediaControllerConstructor MediaControlle
r; | 307 [EnabledAtRuntime=media] attribute MediaControllerConstructor MediaControlle
r; |
| 311 [EnabledAtRuntime=deviceMotion] attribute DeviceMotionEventConstructor Devic
eMotionEvent; | 308 [EnabledAtRuntime=deviceMotion] attribute DeviceMotionEventConstructor Devic
eMotionEvent; |
| 312 [EnabledAtRuntime=touch] attribute TouchConstructor Touch; | 309 [EnabledAtRuntime=touch] attribute TouchConstructor Touch; |
| 313 [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent; | 310 [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent; |
| 314 [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList; | 311 [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList; |
| 315 [EnabledAtRuntime=webMIDI] attribute MIDIConnectionEventConstructor MIDIConn
ectionEvent; | 312 [EnabledAtRuntime=webMIDI] attribute MIDIConnectionEventConstructor MIDIConn
ectionEvent; |
| 316 [EnabledAtRuntime=webMIDI] attribute MIDIMessageEventConstructor MIDIMessage
Event; | 313 [EnabledAtRuntime=webMIDI] attribute MIDIMessageEventConstructor MIDIMessage
Event; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 327 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionEventConstructo
r webkitSpeechRecognitionEvent; | 324 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionEventConstructo
r webkitSpeechRecognitionEvent; |
| 328 | 325 |
| 329 // Constructors whose name does not match the interface name. | 326 // Constructors whose name does not match the interface name. |
| 330 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. | 327 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. |
| 331 attribute ShadowRootConstructor WebKitShadowRoot; | 328 attribute ShadowRootConstructor WebKitShadowRoot; |
| 332 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; | 329 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod
e; |
| 333 | 330 |
| 334 // window.toString() requires special handling in V8 | 331 // window.toString() requires special handling in V8 |
| 335 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 332 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
| 336 | 333 |
| 337 [ImplementedAs=anonymousIndexedGetter] getter DOMWindow(unsigned long index)
; | 334 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsig
ned long index); |
| 335 [Custom, NotEnumerable] getter DOMWindow (DOMString name); |
| 338 }; | 336 }; |
| 339 | 337 |
| OLD | NEW |