OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 partial interface HTMLMediaElement { | 5 partial interface HTMLMediaElement { |
6 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaGenerateKeyRequest] void webkitGenerateKeyRequest([TreatUndefinedAs=NullSt
ring] DOMString? keySystem, optional Uint8Array initData); | 6 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaGenerateKeyRequest, LegacyInterfaceTypeChecking] void webkitGenerateKeyReq
uest([TreatUndefinedAs=NullString] DOMString? keySystem, optional Uint8Array ini
tData); |
7 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaAddKey] void webkitAddKey([TreatUndefinedAs=NullString] DOMString? keySyst
em, Uint8Array key, optional Uint8Array initData, optional DOMString sessionId =
null); | 7 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaAddKey, LegacyInterfaceTypeChecking] void webkitAddKey([TreatUndefinedAs=N
ullString] DOMString? keySystem, Uint8Array key, optional Uint8Array initData, o
ptional DOMString sessionId = null); |
8 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaCancelKeyRequest] void webkitCancelKeyRequest([TreatUndefinedAs=NullString
] DOMString? keySystem, optional DOMString sessionId = null); | 8 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException, DeprecateAs=Prefixe
dMediaCancelKeyRequest] void webkitCancelKeyRequest([TreatUndefinedAs=NullString
] DOMString? keySystem, optional DOMString sessionId = null); |
9 | 9 |
10 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; | 10 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; |
11 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; | 11 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; |
12 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; | 12 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; |
13 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; | 13 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; |
14 | 14 |
15 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys; | 15 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys; |
16 [RuntimeEnabled=EncryptedMedia, TypeChecking=Interface, CallWith=ScriptState
] Promise setMediaKeys(MediaKeys? mediaKeys); | 16 [RuntimeEnabled=EncryptedMedia, CallWith=ScriptState] Promise setMediaKeys(M
ediaKeys? mediaKeys); |
17 [RuntimeEnabled=EncryptedMedia] attribute EventHandler onencrypted; | 17 [RuntimeEnabled=EncryptedMedia] attribute EventHandler onencrypted; |
18 }; | 18 }; |
OLD | NEW |