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

Unified Diff: modules/encryptedmedia/MediaEncryptedEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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: modules/encryptedmedia/MediaEncryptedEvent.idl
diff --git a/modules/encryptedmedia/MediaKeyNeededEvent.idl b/modules/encryptedmedia/MediaEncryptedEvent.idl
similarity index 81%
rename from modules/encryptedmedia/MediaKeyNeededEvent.idl
rename to modules/encryptedmedia/MediaEncryptedEvent.idl
index c99a180b5e19e0f54eb9b594bb8312c74201b30c..ec07de9bc377db8b8b30730350cc690769338ff9 100644
--- a/modules/encryptedmedia/MediaKeyNeededEvent.idl
+++ b/modules/encryptedmedia/MediaEncryptedEvent.idl
@@ -23,11 +23,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/encrypted-media/#mediaencryptedevent
+
[
- EventConstructor,
- RuntimeEnabled=EncryptedMedia
-] interface MediaKeyNeededEvent : Event {
- readonly attribute DOMString contentType;
- readonly attribute Uint8Array initData;
+ Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict),
+ RuntimeEnabled=EncryptedMedia,
+] interface MediaEncryptedEvent : Event {
+ readonly attribute DOMString initDataType;
+ readonly attribute ArrayBuffer? initData;
};
« no previous file with comments | « modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl ('k') | modules/encryptedmedia/MediaEncryptedEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698