Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted- media.html#mediakeysystemoptions-dictionary | |
| 6 | |
| 7 // Note that the code for NativeValueTraits<MediaKeySystemOptions> in | |
|
ddorwin
2014/10/23 18:02:30
nit: This could be a little more concise. For exam
jrummell
2014/10/23 22:13:15
Done.
| |
| 8 // NavigatorRequestMediaKeySystemAccess.h needs to be updated if this | |
|
ddorwin
2014/10/23 18:02:30
I think this needs to be updated to say ConvertDic
jrummell
2014/10/23 22:13:15
Done.
| |
| 9 // definition changes. | |
| 10 | |
| 11 enum MediaKeysRequirement { | |
| 12 "required", | |
| 13 "optional", | |
| 14 "disallowed" | |
| 15 }; | |
| 16 | |
| 17 [ | |
| 18 RuntimeEnabled=EncryptedMedia | |
| 19 ] dictionary MediaKeySystemOptions { | |
| 20 DOMString initDataType = ""; | |
| 21 DOMString audioType = ""; | |
| 22 DOMString audioCapability = ""; | |
| 23 DOMString videoType = ""; | |
| 24 DOMString videoCapability = ""; | |
| 25 MediaKeysRequirement uniqueidentifier = "optional"; | |
| 26 MediaKeysRequirement stateful = "optional"; | |
| 27 }; | |
| OLD | NEW |