MediaKeysRequestStatus.webidl (709B)
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 * You can obtain one at http://mozilla.org/MPL/2.0/. 5 */ 6 7 enum MediaKeySystemStatus { 8 "available", 9 "api-disabled", 10 "cdm-disabled", 11 "cdm-not-supported", 12 "cdm-not-installed", 13 "cdm-created", 14 }; 15 16 /* Note: This dictionary and enum is only used by Gecko to convey messages 17 * to chrome JS code. It is not exposed to the web. 18 */ 19 [GenerateToJSON] 20 dictionary RequestMediaKeySystemAccessNotification { 21 required DOMString keySystem; 22 required MediaKeySystemStatus status; 23 };