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

Side by Side Diff: modules/encryptedmedia/MediaKeySession.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 19 matching lines...) Expand all
30 TypeChecking=Interface 30 TypeChecking=Interface
31 ] interface MediaKeySession : EventTarget { 31 ] interface MediaKeySession : EventTarget {
32 // error state 32 // error state
33 readonly attribute MediaKeyError error; 33 readonly attribute MediaKeyError error;
34 34
35 // session properties 35 // session properties
36 readonly attribute DOMString keySystem; 36 readonly attribute DOMString keySystem;
37 readonly attribute DOMString sessionId; 37 readonly attribute DOMString sessionId;
38 [CallWith=ScriptState] readonly attribute Promise closed; 38 [CallWith=ScriptState] readonly attribute Promise closed;
39 39
40 // session initialization
41 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array Buffer initData);
42 [CallWith=ScriptState] Promise generateRequest(DOMString initDataType, Array BufferView initData);
43
40 // session operations 44 // session operations
41 [CallWith=ScriptState] Promise update(ArrayBuffer response); 45 [CallWith=ScriptState] Promise update(ArrayBuffer response);
42 [CallWith=ScriptState] Promise update(ArrayBufferView response); 46 [CallWith=ScriptState] Promise update(ArrayBufferView response);
43 [CallWith=ScriptState] Promise release(); 47 [CallWith=ScriptState] Promise release();
44 }; 48 };
OLDNEW
« no previous file with comments | « modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl ('k') | modules/encryptedmedia/MediaKeys.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698