Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: Source/core/page/DOMWindow.idl

Issue 16691003: Remove Constructor attributes on DOMWindow because of [EnabledAtRuntime] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this. 291 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
292 attribute IDBCursorConstructor webkitIDBCursor; 292 attribute IDBCursorConstructor webkitIDBCursor;
293 attribute IDBDatabaseConstructor webkitIDBDatabase; 293 attribute IDBDatabaseConstructor webkitIDBDatabase;
294 attribute IDBFactoryConstructor webkitIDBFactory; 294 attribute IDBFactoryConstructor webkitIDBFactory;
295 attribute IDBIndexConstructor webkitIDBIndex; 295 attribute IDBIndexConstructor webkitIDBIndex;
296 attribute IDBKeyRangeConstructor webkitIDBKeyRange; 296 attribute IDBKeyRangeConstructor webkitIDBKeyRange;
297 attribute IDBObjectStoreConstructor webkitIDBObjectStore; 297 attribute IDBObjectStoreConstructor webkitIDBObjectStore;
298 attribute IDBRequestConstructor webkitIDBRequest; 298 attribute IDBRequestConstructor webkitIDBRequest;
299 attribute IDBTransactionConstructor webkitIDBTransaction; 299 attribute IDBTransactionConstructor webkitIDBTransaction;
300 300
301 // Constructors enabled at runtime but whose interface does not have Enabled AtRuntime 301 // Constructors whose name does not match the interface name.
302 // extended attribute. 302 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam es match interface names.
303 // FIXME: Remove these.
304 [EnabledAtRuntime=media] attribute MediaErrorConstructor MediaError;
305 [EnabledAtRuntime=media] attribute TimeRangesConstructor TimeRanges;
306 [EnabledAtRuntime=media] attribute HTMLSourceElementConstructor HTMLSourceEl ement;
307 [EnabledAtRuntime=media] attribute MediaControllerConstructor MediaControlle r;
308 [EnabledAtRuntime=deviceMotion] attribute DeviceMotionEventConstructor Devic eMotionEvent;
309 [EnabledAtRuntime=touch] attribute TouchConstructor Touch;
310 [EnabledAtRuntime=touch] attribute TouchEventConstructor TouchEvent;
311 [EnabledAtRuntime=touch] attribute TouchListConstructor TouchList;
312 [EnabledAtRuntime=webMIDI] attribute MIDIConnectionEventConstructor MIDIConn ectionEvent;
313 [EnabledAtRuntime=webMIDI] attribute MIDIMessageEventConstructor MIDIMessage Event;
314 [EnabledAtRuntime=mediaStream] attribute MediaStreamConstructor webkitMediaS tream; 303 [EnabledAtRuntime=mediaStream] attribute MediaStreamConstructor webkitMediaS tream;
315 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute AudioContextCon structor webkitAudioContext; 304 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute AudioContextCon structor webkitAudioContext;
316 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute OfflineAudioCon textConstructor webkitOfflineAudioContext; 305 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute OfflineAudioCon textConstructor webkitOfflineAudioContext;
317 [EnabledAtRuntime=peerConnection] attribute RTCPeerConnectionConstructor web kitRTCPeerConnection; 306 [EnabledAtRuntime=peerConnection] attribute RTCPeerConnectionConstructor web kitRTCPeerConnection;
318 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute Secur ityPolicyViolationEventConstructor SecurityPolicyViolationEvent;
319 [EnabledAtRuntime] attribute SharedWorkerConstructor SharedWorker; // Usable with the new operator
320 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarConstructor webkitS peechGrammar; 307 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarConstructor webkitS peechGrammar;
321 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarListConstructor web kitSpeechGrammarList; 308 [EnabledAtRuntime=scriptedSpeech] attribute SpeechGrammarListConstructor web kitSpeechGrammarList;
322 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionConstructor web kitSpeechRecognition; 309 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionConstructor web kitSpeechRecognition;
323 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionErrorConstructo r webkitSpeechRecognitionError; 310 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionErrorConstructo r webkitSpeechRecognitionError;
324 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionEventConstructo r webkitSpeechRecognitionEvent; 311 [EnabledAtRuntime=scriptedSpeech] attribute SpeechRecognitionEventConstructo r webkitSpeechRecognitionEvent;
325
326 // Constructors whose name does not match the interface name.
327 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam es match interface names.
328 attribute ShadowRootConstructor WebKitShadowRoot; 312 attribute ShadowRootConstructor WebKitShadowRoot;
329 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod e; 313 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod e;
330 314
331 // window.toString() requires special handling in V8 315 // window.toString() requires special handling in V8
332 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 316 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
333 317
334 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsig ned long index); 318 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMWindow(unsig ned long index);
335 [Custom, NotEnumerable] getter DOMWindow (DOMString name); 319 [Custom, NotEnumerable] getter DOMWindow (DOMString name);
336 }; 320 };
337 321
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698