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 attribute IDBFactoryConstructor webkitIDBFactory; | 209 attribute IDBFactoryConstructor webkitIDBFactory; |
210 attribute IDBIndexConstructor webkitIDBIndex; | 210 attribute IDBIndexConstructor webkitIDBIndex; |
211 attribute IDBKeyRangeConstructor webkitIDBKeyRange; | 211 attribute IDBKeyRangeConstructor webkitIDBKeyRange; |
212 attribute IDBObjectStoreConstructor webkitIDBObjectStore; | 212 attribute IDBObjectStoreConstructor webkitIDBObjectStore; |
213 attribute IDBRequestConstructor webkitIDBRequest; | 213 attribute IDBRequestConstructor webkitIDBRequest; |
214 attribute IDBTransactionConstructor webkitIDBTransaction; | 214 attribute IDBTransactionConstructor webkitIDBTransaction; |
215 | 215 |
216 // Constructors whose name does not match the interface name. | 216 // Constructors whose name does not match the interface name. |
217 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. | 217 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam
es match interface names. |
218 [RuntimeEnabled=MediaStream] attribute MediaStreamConstructor webkitMediaStr
eam; | 218 [RuntimeEnabled=MediaStream] attribute MediaStreamConstructor webkitMediaStr
eam; |
| 219 // Support both prefixed and unprefixed WebAudio |
219 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor AudioContext; | 220 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor AudioContext; |
220 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte
xtConstructor OfflineAudioContext; | 221 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte
xtConstructor OfflineAudioContext; |
| 222 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor webkitAudioContext; |
| 223 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte
xtConstructor webkitOfflineAudioContext; |
221 [RuntimeEnabled=PeerConnection] attribute RTCPeerConnectionConstructor webki
tRTCPeerConnection; | 224 [RuntimeEnabled=PeerConnection] attribute RTCPeerConnectionConstructor webki
tRTCPeerConnection; |
222 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarConstructor webkitSpe
echGrammar; | 225 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarConstructor webkitSpe
echGrammar; |
223 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarListConstructor webki
tSpeechGrammarList; | 226 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarListConstructor webki
tSpeechGrammarList; |
224 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionConstructor webki
tSpeechRecognition; | 227 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionConstructor webki
tSpeechRecognition; |
225 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionErrorConstructor
webkitSpeechRecognitionError; | 228 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionErrorConstructor
webkitSpeechRecognitionError; |
226 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionEventConstructor
webkitSpeechRecognitionEvent; | 229 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionEventConstructor
webkitSpeechRecognitionEvent; |
227 | 230 |
228 // window.toString() requires special handling in V8 | 231 // window.toString() requires special handling in V8 |
229 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 232 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
230 | 233 |
231 [NotEnumerable] getter Window (unsigned long index); | 234 [NotEnumerable] getter Window (unsigned long index); |
232 [Custom, NotEnumerable] getter Window (DOMString name); | 235 [Custom, NotEnumerable] getter Window (DOMString name); |
233 }; | 236 }; |
234 | 237 |
235 Window implements GlobalEventHandlers; | 238 Window implements GlobalEventHandlers; |
236 Window implements ImageBitmapFactories; | 239 Window implements ImageBitmapFactories; |
237 Window implements WindowBase64; | 240 Window implements WindowBase64; |
238 Window implements WindowEventHandlers; | 241 Window implements WindowEventHandlers; |
239 Window implements WindowTimers; | 242 Window implements WindowTimers; |
OLD | NEW |