Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Side by Side Diff: Source/modules/encryptedmedia/MediaKeySystemOptions.idl

Issue 665213002: Implement navigator.requestMediaKeySystemAccess() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updates Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698