| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // WebKit extensions | 88 // WebKit extensions |
| 89 attribute boolean webkitPreservesPitch; | 89 attribute boolean webkitPreservesPitch; |
| 90 | 90 |
| 91 readonly attribute boolean webkitHasClosedCaptions; | 91 readonly attribute boolean webkitHasClosedCaptions; |
| 92 attribute boolean webkitClosedCaptionsVisible; | 92 attribute boolean webkitClosedCaptionsVisible; |
| 93 | 93 |
| 94 // The number of bytes consumed by the media decoder. | 94 // The number of bytes consumed by the media decoder. |
| 95 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitAudioD
ecodedByteCount; | 95 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitAudioD
ecodedByteCount; |
| 96 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoD
ecodedByteCount; | 96 readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoD
ecodedByteCount; |
| 97 | 97 |
| 98 #if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE | |
| 99 // URL passed to src attribute to enable the media source logic. | |
| 100 readonly attribute [V8EnabledAtRuntime=mediaSource, URL] DOMString webkitMed
iaSourceURL; | |
| 101 #endif | |
| 102 | |
| 103 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA | 98 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA |
| 104 [V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatN
ullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional
] Uint8Array initData) | 99 [V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatN
ullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional
] Uint8Array initData) |
| 105 raises (DOMException); | 100 raises (DOMException); |
| 106 [V8EnabledAtRuntime=encryptedMedia] void webkitAddKey(in [TreatNullAs=NullSt
ring, TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [O
ptional] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessio
nId) | 101 [V8EnabledAtRuntime=encryptedMedia] void webkitAddKey(in [TreatNullAs=NullSt
ring, TreatUndefinedAs=NullString] DOMString keySystem, in Uint8Array key, in [O
ptional] Uint8Array initData, in [Optional=DefaultIsNullString] DOMString sessio
nId) |
| 107 raises (DOMException); | 102 raises (DOMException); |
| 108 [V8EnabledAtRuntime=encryptedMedia] void webkitCancelKeyRequest(in [TreatNul
lAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=D
efaultIsNullString] DOMString sessionId) | 103 [V8EnabledAtRuntime=encryptedMedia] void webkitCancelKeyRequest(in [TreatNul
lAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional=D
efaultIsNullString] DOMString sessionId) |
| 109 raises (DOMException); | 104 raises (DOMException); |
| 110 | 105 |
| 111 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyadded
; | 106 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyadded
; |
| 112 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror
; | 107 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeyerror
; |
| 113 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessa
ge; | 108 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitkeymessa
ge; |
| 114 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitneedkey; | 109 attribute [V8EnabledAtRuntime=encryptedMedia] EventListener onwebkitneedkey; |
| 115 #endif | 110 #endif |
| 116 | 111 |
| 117 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 112 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK |
| 118 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString ki
nd, in [Optional] DOMString label, in [Optional] DOMString language) | 113 [V8EnabledAtRuntime=webkitVideoTrack] TextTrack addTextTrack(in DOMString ki
nd, in [Optional] DOMString label, in [Optional] DOMString language) |
| 119 raises (DOMException); | 114 raises (DOMException); |
| 120 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textT
racks; | 115 readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textT
racks; |
| 121 #endif | 116 #endif |
| 122 | 117 |
| 123 attribute [Reflect, TreatNullAs=NullString] DOMString mediaGroup; | 118 attribute [Reflect, TreatNullAs=NullString] DOMString mediaGroup; |
| 124 attribute [CustomSetter] MediaController controller; | 119 attribute [CustomSetter] MediaController controller; |
| 125 }; | 120 }; |
| 126 } | 121 } |
| OLD | NEW |