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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; | 197 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; |
198 | 198 |
199 [MeasureAs=WindowCaptureEvents] void captureEvents(); | 199 [MeasureAs=WindowCaptureEvents] void captureEvents(); |
200 [MeasureAs=WindowReleaseEvents] void releaseEvents(); | 200 [MeasureAs=WindowReleaseEvents] void releaseEvents(); |
201 | 201 |
202 // Additional constructors. | 202 // Additional constructors. |
203 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; | 203 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons
tructor WebKitTransitionEvent; |
204 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; | 204 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr
uctor AnimationEvent; |
205 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME:
deprecate this. | 205 [MeasureAs=PrefixedWindowURL] attribute URLConstructor webkitURL; // FIXME:
deprecate this. |
206 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; | 206 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo
nstructor WebKitMutationObserver; |
207 [MeasureAs=PrefixedIDBCursorConstructor] attribute IDBCursorConstructor webk
itIDBCursor; | |
208 [MeasureAs=PrefixedIDBDatabaseConstructor] attribute IDBDatabaseConstructor
webkitIDBDatabase; | |
209 [MeasureAs=PrefixedIDBFactoryConstructor] attribute IDBFactoryConstructor we
bkitIDBFactory; | |
210 [MeasureAs=PrefixedIDBIndexConstructor] attribute IDBIndexConstructor webkit
IDBIndex; | |
211 [MeasureAs=PrefixedIDBKeyRangeConstructor] attribute IDBKeyRangeConstructor
webkitIDBKeyRange; | |
212 [MeasureAs=PrefixedIDBObjectStoreConstructor] attribute IDBObjectStoreConstr
uctor webkitIDBObjectStore; | |
213 [MeasureAs=PrefixedIDBRequestConstructor] attribute IDBRequestConstructor we
bkitIDBRequest; | |
214 [MeasureAs=PrefixedIDBTransactionConstructor] attribute IDBTransactionConstr
uctor webkitIDBTransaction; | |
215 | |
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. | |
218 [RuntimeEnabled=MediaStream] attribute MediaStreamConstructor webkitMediaStr
eam; | |
219 // Support both prefixed and unprefixed WebAudio | |
220 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst
ructor AudioContext; | |
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; | |
224 [RuntimeEnabled=PeerConnection] attribute RTCPeerConnectionConstructor webki
tRTCPeerConnection; | |
225 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarConstructor webkitSpe
echGrammar; | |
226 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarListConstructor webki
tSpeechGrammarList; | |
227 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionConstructor webki
tSpeechRecognition; | |
228 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionErrorConstructor
webkitSpeechRecognitionError; | |
229 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionEventConstructor
webkitSpeechRecognitionEvent; | |
230 | 207 |
231 // window.toString() requires special handling in V8 | 208 // window.toString() requires special handling in V8 |
232 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 209 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
233 | 210 |
234 [NotEnumerable] getter Window (unsigned long index); | 211 [NotEnumerable] getter Window (unsigned long index); |
235 [Custom, NotEnumerable] getter Window (DOMString name); | 212 [Custom, NotEnumerable] getter Window (DOMString name); |
236 }; | 213 }; |
237 | 214 |
238 Window implements GlobalEventHandlers; | 215 Window implements GlobalEventHandlers; |
239 Window implements ImageBitmapFactories; | 216 Window implements ImageBitmapFactories; |
240 Window implements WindowBase64; | 217 Window implements WindowBase64; |
241 Window implements WindowEventHandlers; | 218 Window implements WindowEventHandlers; |
242 Window implements WindowTimers; | 219 Window implements WindowTimers; |
OLD | NEW |