| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // Global constructors | 328 // Global constructors |
| 329 attribute StyleSheetConstructor StyleSheet; | 329 attribute StyleSheetConstructor StyleSheet; |
| 330 attribute CSSStyleSheetConstructor CSSStyleSheet; | 330 attribute CSSStyleSheetConstructor CSSStyleSheet; |
| 331 | 331 |
| 332 attribute CSSValueConstructor CSSValue; | 332 attribute CSSValueConstructor CSSValue; |
| 333 attribute CSSPrimitiveValueConstructor CSSPrimitiveValue; | 333 attribute CSSPrimitiveValueConstructor CSSPrimitiveValue; |
| 334 attribute CSSValueListConstructor CSSValueList; | 334 attribute CSSValueListConstructor CSSValueList; |
| 335 attribute WebKitCSSTransformValueConstructor WebKitCSSTransformValue; | 335 attribute WebKitCSSTransformValueConstructor WebKitCSSTransformValue; |
| 336 | 336 |
| 337 #if defined(ENABLE_CSS_SHADERS) && ENABLE_CSS_SHADERS | 337 #if defined(ENABLE_CSS_SHADERS) && ENABLE_CSS_SHADERS |
| 338 attribute WebKitCSSFilterRuleConstructor WebKitCSSFilterRule; |
| 338 attribute WebKitCSSMixFunctionValueConstructor WebKitCSSMixFunctionValue; | 339 attribute WebKitCSSMixFunctionValueConstructor WebKitCSSMixFunctionValue; |
| 339 #endif | 340 #endif |
| 340 | 341 |
| 341 #if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS | 342 #if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS |
| 342 attribute WebKitCSSFilterValueConstructor WebKitCSSFilterValue; | 343 attribute WebKitCSSFilterValueConstructor WebKitCSSFilterValue; |
| 343 #endif | 344 #endif |
| 344 | 345 |
| 345 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION | 346 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION |
| 346 attribute WebKitCSSViewportRuleConstructor WebKitCSSViewportRule; | 347 attribute WebKitCSSViewportRuleConstructor WebKitCSSViewportRule; |
| 347 #endif | 348 #endif |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 attribute HTMLFormControlsCollectionConstructor HTMLFormControlsCollection; | 480 attribute HTMLFormControlsCollectionConstructor HTMLFormControlsCollection; |
| 480 attribute HTMLOptionsCollectionConstructor HTMLOptionsCollection; | 481 attribute HTMLOptionsCollectionConstructor HTMLOptionsCollection; |
| 481 [Conditional=MICRODATA] attribute HTMLPropertiesCollectionConstructor HTMLPr
opertiesCollection; | 482 [Conditional=MICRODATA] attribute HTMLPropertiesCollectionConstructor HTMLPr
opertiesCollection; |
| 482 attribute HTMLUnknownElementConstructor HTMLUnknownElement; | 483 attribute HTMLUnknownElementConstructor HTMLUnknownElement; |
| 483 | 484 |
| 484 [JSCustomGetter, CustomConstructor] attribute HTMLImageElementConstructorCon
structor Image; // Usable with new operator | 485 [JSCustomGetter, CustomConstructor] attribute HTMLImageElementConstructorCon
structor Image; // Usable with new operator |
| 485 [JSCustomGetter] attribute HTMLOptionElementConstructorConstructor Option; /
/ Usable with new operator | 486 [JSCustomGetter] attribute HTMLOptionElementConstructorConstructor Option; /
/ Usable with new operator |
| 486 | 487 |
| 487 [Conditional=ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] attribute M
ediaKeyErrorConstructor MediaKeyError; | 488 [Conditional=ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] attribute M
ediaKeyErrorConstructor MediaKeyError; |
| 488 [Conditional=ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] attribute M
ediaKeyEventConstructor MediaKeyEvent; | 489 [Conditional=ENCRYPTED_MEDIA, V8EnabledAtRuntime=encryptedMedia] attribute M
ediaKeyEventConstructor MediaKeyEvent; |
| 490 attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia
] MediaKeysConstructor MediaKeys; |
| 491 attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia
] MediaKeyErrorConstructor MediaKeyError; |
| 492 attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia
] MediaKeyMessageEventConstructor MediaKeyMessageEvent; |
| 493 attribute [Conditional=ENCRYPTED_MEDIA_V2, V8EnabledAtRuntime=encryptedMedia
] MediaKeyNeededEventConstructor MediaKeyNeededEvent; |
| 489 | 494 |
| 490 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute HTM
LTrackElementConstructor HTMLTrackElement; | 495 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute HTM
LTrackElementConstructor HTMLTrackElement; |
| 491 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackConstructor TextTrack; | 496 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackConstructor TextTrack; |
| 492 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackCueConstructor TextTrackCue; // Usable with the new operator | 497 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackCueConstructor TextTrackCue; // Usable with the new operator |
| 493 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackCueListConstructor TextTrackCueList; | 498 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackCueListConstructor TextTrackCueList; |
| 494 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackListConstructor TextTrackList; | 499 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tex
tTrackListConstructor TextTrackList; |
| 495 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tra
ckEventConstructor TrackEvent; | 500 [Conditional=VIDEO_TRACK, V8EnabledAtRuntime=webkitVideoTrack] attribute Tra
ckEventConstructor TrackEvent; |
| 496 | 501 |
| 497 [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioE
lementConstructorConstructor Audio; // Usable with the new operator | 502 [JSCustomGetter, Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioE
lementConstructorConstructor Audio; // Usable with the new operator |
| 498 [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioElementConstructo
r HTMLAudioElement; | 503 [Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLAudioElementConstructo
r HTMLAudioElement; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 attribute Float32ArrayConstructor Float32Array; // Usable with new operator | 542 attribute Float32ArrayConstructor Float32Array; // Usable with new operator |
| 538 attribute Float64ArrayConstructor Float64Array; // Usable with new operator | 543 attribute Float64ArrayConstructor Float64Array; // Usable with new operator |
| 539 attribute DataViewConstructor DataView; // Usable with new operator | 544 attribute DataViewConstructor DataView; // Usable with new operator |
| 540 | 545 |
| 541 // Event Constructors | 546 // Event Constructors |
| 542 attribute EventConstructor Event; | 547 attribute EventConstructor Event; |
| 543 attribute BeforeLoadEventConstructor BeforeLoadEvent; | 548 attribute BeforeLoadEventConstructor BeforeLoadEvent; |
| 544 attribute CompositionEventConstructor CompositionEvent; | 549 attribute CompositionEventConstructor CompositionEvent; |
| 545 attribute CustomEventConstructor CustomEvent; | 550 attribute CustomEventConstructor CustomEvent; |
| 546 attribute ErrorEventConstructor ErrorEvent; | 551 attribute ErrorEventConstructor ErrorEvent; |
| 552 attribute FocusEventConstructor FocusEvent; |
| 547 attribute HashChangeEventConstructor HashChangeEvent; | 553 attribute HashChangeEventConstructor HashChangeEvent; |
| 548 attribute KeyboardEventConstructor KeyboardEvent; | 554 attribute KeyboardEventConstructor KeyboardEvent; |
| 549 attribute MessageEventConstructor MessageEvent; | 555 attribute MessageEventConstructor MessageEvent; |
| 550 attribute MouseEventConstructor MouseEvent; | 556 attribute MouseEventConstructor MouseEvent; |
| 551 attribute MutationEventConstructor MutationEvent; | 557 attribute MutationEventConstructor MutationEvent; |
| 552 attribute OverflowEventConstructor OverflowEvent; | 558 attribute OverflowEventConstructor OverflowEvent; |
| 553 attribute PopStateEventConstructor PopStateEvent; | 559 attribute PopStateEventConstructor PopStateEvent; |
| 554 attribute PageTransitionEventConstructor PageTransitionEvent; | 560 attribute PageTransitionEventConstructor PageTransitionEvent; |
| 555 attribute ProgressEventConstructor ProgressEvent; | 561 attribute ProgressEventConstructor ProgressEvent; |
| 556 attribute TextEventConstructor TextEvent; | 562 attribute TextEventConstructor TextEvent; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; | 806 [Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceB
ufferListConstructor WebKitSourceBufferList; |
| 801 | 807 |
| 802 #endif // defined(LANGUAGE_JAVASCRIPT) | 808 #endif // defined(LANGUAGE_JAVASCRIPT) |
| 803 | 809 |
| 804 #if defined(V8_BINDING) && V8_BINDING | 810 #if defined(V8_BINDING) && V8_BINDING |
| 805 // window.toString() requires special handling in V8 | 811 // window.toString() requires special handling in V8 |
| 806 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); | 812 [V8DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString
toString(); |
| 807 #endif // defined(V8_BINDING) | 813 #endif // defined(V8_BINDING) |
| 808 }; | 814 }; |
| 809 | 815 |
| OLD | NEW |