| 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 // https://w3c.github.io/encrypted-media/#mediakeymessageevent | 5 // https://w3c.github.io/encrypted-media/#mediakeymessageevent |
| 6 | 6 |
| 7 enum MediaKeyMessageType { | |
| 8 "license-request", | |
| 9 "license-renewal", | |
| 10 "license-release" | |
| 11 }; | |
| 12 | |
| 13 dictionary MediaKeyMessageEventInit : EventInit { | 7 dictionary MediaKeyMessageEventInit : EventInit { |
| 14 MediaKeyMessageType messageType = "license-request"; | 8 MediaKeyMessageType messageType = "license-request"; |
| 15 ArrayBuffer message; | 9 ArrayBuffer message; |
| 16 }; | 10 }; |
| OLD | NEW |