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

Unified Diff: core/fileapi/Stream.idl

Issue 19605006: Roll IDL to multivm@1316 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 5 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
« no previous file with comments | « core/fileapi/FileReader.idl ('k') | core/html/HTMLFrameElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fileapi/Stream.idl
diff --git a/modules/webmidi/MIDIMessageEvent.idl b/core/fileapi/Stream.idl
similarity index 80%
copy from modules/webmidi/MIDIMessageEvent.idl
copy to core/fileapi/Stream.idl
index 5a9c05f7d92179dce7fc2d5a810f256d7b424eb2..7caf013411b2dc4c081f1d29e011e9b074f7f4c8 100644
--- a/modules/webmidi/MIDIMessageEvent.idl
+++ b/core/fileapi/Stream.idl
@@ -28,12 +28,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// FIXME: The spec doesn't provide details about constructor, yet.
-// See also, https://github.com/WebAudio/web-midi-api/issues/1 .
+// FIXME: close() method which is necessary for Stream building feature
+// is omitted for now. Add it when necessary.
+//
+// FIXME: Add a flag to indicate if this stream frees memory when read or not
+// (e.g. boolean isReadOnce()).
+//
+// FIXME: Make the Blob a subclass of the Stream.
+
[
- NoInterfaceObject,
- ConstructorTemplate=Event
-] interface MIDIMessageEvent : Event {
- [InitializedByEventConstructor] readonly attribute double receivedTime;
- [InitializedByEventConstructor] readonly attribute Uint8Array data;
+ EnabledAtRuntime=stream
+] interface Stream {
+ readonly attribute DOMString type;
};
« no previous file with comments | « core/fileapi/FileReader.idl ('k') | core/html/HTMLFrameElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698