OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2010, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010, 2011, 2012 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // FIXME: add DeprecateAs=PrefixedMediaGenerateKeyRequest when MediaKeys is read
y. | 90 // FIXME: add DeprecateAs=PrefixedMediaGenerateKeyRequest when MediaKeys is read
y. |
91 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitGenerateKeyR
equest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem
, optional Uint8Array initData); | 91 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitGenerateKeyR
equest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem
, optional Uint8Array initData); |
92 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitAddKey([Trea
tNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8Array
key, optional Uint8Array initData, [Default=NullString] optional DOMString sess
ionId); | 92 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitAddKey([Trea
tNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8Array
key, optional Uint8Array initData, [Default=NullString] optional DOMString sess
ionId); |
93 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitCancelKeyReq
uest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem,
[Default=NullString] optional DOMString sessionId); | 93 [EnabledAtRuntime=legacyEncryptedMedia, RaisesException] void webkitCancelKeyReq
uest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem,
[Default=NullString] optional DOMString sessionId); |
94 | 94 |
95 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeyadded
; | 95 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeyadded
; |
96 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeyerror
; | 96 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeyerror
; |
97 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeymessa
ge; | 97 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitkeymessa
ge; |
98 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitneedkey; | 98 [EnabledAtRuntime=legacyEncryptedMedia] attribute EventListener onwebkitneedkey; |
99 | 99 |
100 #if defined(ENABLE_ENCRYPTED_MEDIA_V2) && ENABLE_ENCRYPTED_MEDIA_V2 | 100 [EnabledAtRuntime=encryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Medi
aKeys mediaKeys; |
101 [EnabledAtRuntime=encryptedMedia] attribute MediaKeys mediaKeys; | |
102 #endif | |
103 | 101 |
104 [EnabledAtRuntime=videoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); | 102 [EnabledAtRuntime=videoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); |
105 [EnabledAtRuntime=videoTrack] readonly attribute TextTrackList textTracks; | 103 [EnabledAtRuntime=videoTrack] readonly attribute TextTrackList textTracks; |
106 | 104 |
107 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; | 105 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; |
108 [CustomSetter] attribute MediaController controller; | 106 [CustomSetter] attribute MediaController controller; |
109 }; | 107 }; |
OLD | NEW |