| 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 // ConvertDictionaryIntoMediaKeySystemOptions() in |
| 8 // NavigatorRequestMediaKeySystemAccess.cpp needs to |
| 9 // be updated when modifying this definition. |
| 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 |