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

Unified Diff: Source/modules/encryptedmedia/MediaEncryptedEvent.idl

Issue 655603003: Reland: Remove "needkey" event and add its replacement, "encrypted". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/encryptedmedia/MediaEncryptedEvent.idl
diff --git a/Source/modules/encryptedmedia/MediaKeyNeededEvent.idl b/Source/modules/encryptedmedia/MediaEncryptedEvent.idl
similarity index 91%
rename from Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
rename to Source/modules/encryptedmedia/MediaEncryptedEvent.idl
index c99a180b5e19e0f54eb9b594bb8312c74201b30c..186deb7df8be50755e3111a6caea99bf56f0c2be 100644
--- a/Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
+++ b/Source/modules/encryptedmedia/MediaEncryptedEvent.idl
@@ -26,8 +26,8 @@
[
EventConstructor,
RuntimeEnabled=EncryptedMedia
-] interface MediaKeyNeededEvent : Event {
- readonly attribute DOMString contentType;
- readonly attribute Uint8Array initData;
+] interface MediaEncryptedEvent : Event {
+ readonly attribute DOMString initDataType;
+ readonly attribute ArrayBuffer? initData;
};
« no previous file with comments | « Source/modules/encryptedmedia/MediaEncryptedEvent.cpp ('k') | Source/modules/encryptedmedia/MediaKeyNeededEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698