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

Side by Side Diff: Source/core/html/MediaKeyEvent.idl

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years 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
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 [ 26 [
27 RuntimeEnabled=PrefixedEncryptedMedia, 27 RuntimeEnabled=PrefixedEncryptedMedia,
28 ConstructorTemplate=Event 28 ConstructorTemplate=Event
29 ] interface MediaKeyEvent : Event { 29 ] interface MediaKeyEvent : Event {
30 [InitializedByEventConstructor] readonly attribute DOMString keySystem; 30 [InitializedByEventConstructor] readonly attribute DOMString keySystem;
31 [InitializedByEventConstructor] readonly attribute DOMString sessionId; 31 [InitializedByEventConstructor] readonly attribute DOMString sessionId;
32 [InitializedByEventConstructor] readonly attribute Uint8Array initData; 32 [InitializedByEventConstructor] readonly attribute Uint8Array initData;
33 [InitializedByEventConstructor] readonly attribute Uint8Array message; 33 [InitializedByEventConstructor] readonly attribute Uint8Array message;
34 [InitializedByEventConstructor] readonly attribute DOMString defaultURL; 34 [InitializedByEventConstructor] readonly attribute DOMString defaultURL;
35 [InitializedByEventConstructor] readonly attribute MediaKeyError errorCode; 35 [InitializedByEventConstructor] readonly attribute MediaKeyError? errorCode;
36 [InitializedByEventConstructor] readonly attribute unsigned short systemCode ; 36 [InitializedByEventConstructor] readonly attribute unsigned short systemCode ;
37 }; 37 };
38 38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698