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

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: update 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 // 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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698