Home
last modified time | relevance | path

Searched refs:mediaKeys (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/media/test/data/eme_player_js/
Dplayer_utils.js60 if (message.target.mediaKeys.createSession.length == 0) {
63 var session = message.target.mediaKeys.createSession();
70 var session = message.target.mediaKeys.createSession(
84 MediaKeys.create(player.testConfig.keySystem).then(function(mediaKeys) { argument
85 player.video.setMediaKeys(mediaKeys);
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
DHTMLMediaElementEncryptedMedia.cpp107 …MediaKeysHandler::create(ScriptState* scriptState, HTMLMediaElement& element, MediaKeys* mediaKeys) in create() argument
109 …<SetMediaKeysHandler> handler = adoptRef(new SetMediaKeysHandler(scriptState, element, mediaKeys)); in create()
115 …ler::SetMediaKeysHandler(ScriptState* scriptState, HTMLMediaElement& element, MediaKeys* mediaKeys) in SetMediaKeysHandler() argument
118 , m_newMediaKeys(mediaKeys) in SetMediaKeysHandler()
266 MediaKeys* HTMLMediaElementEncryptedMedia::mediaKeys(HTMLMediaElement& element) in mediaKeys() function in blink::HTMLMediaElementEncryptedMedia
272 …yptedMedia::setMediaKeys(ScriptState* scriptState, HTMLMediaElement& element, MediaKeys* mediaKeys) in setMediaKeys() argument
275 …ementEncryptedMedia::setMediaKeys current(%p), new(%p)", thisElement.m_mediaKeys.get(), mediaKeys); in setMediaKeys()
282 if (thisElement.m_mediaKeys == mediaKeys) in setMediaKeys()
286 return SetMediaKeysHandler::create(scriptState, element, mediaKeys); in setMediaKeys()
DHTMLMediaElementEncryptedMedia.idl15 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys;
16 …tedMedia, TypeChecking=Interface, CallWith=ScriptState] Promise setMediaKeys(MediaKeys? mediaKeys);
DMediaKeySession.cpp208 MediaKeySession* MediaKeySession::create(ScriptState* scriptState, MediaKeys* mediaKeys, const Stri… in create() argument
210 …doptRefCountedGarbageCollectedWillBeNoop(new MediaKeySession(scriptState, mediaKeys, sessionType)); in create()
215 MediaKeySession::MediaKeySession(ScriptState* scriptState, MediaKeys* mediaKeys, const String& sess… in MediaKeySession() argument
217 , m_keySystem(mediaKeys->keySystem()) in MediaKeySession()
219 , m_mediaKeys(mediaKeys) in MediaKeySession()
232 WebContentDecryptionModule* cdm = mediaKeys->contentDecryptionModule(); in MediaKeySession()
DMediaKeys.cpp137 MediaKeys* mediaKeys = new MediaKeys(executionContext(), m_keySystem, cdm.release()); in timerFired() local
140 resolve(mediaKeys); in timerFired()
DHTMLMediaElementEncryptedMedia.h40 static MediaKeys* mediaKeys(HTMLMediaElement&);