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

Side by Side Diff: Source/core/fileapi/FileReader.idl

Issue 18635004: [Not ready for review] Add Streams API support to FileReader Base URL: svn://svn.chromium.org/blink/trunk
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | public/platform/WebBlobRegistry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 28 matching lines...) Expand all
39 const unsigned short EMPTY = 0; 39 const unsigned short EMPTY = 0;
40 const unsigned short LOADING = 1; 40 const unsigned short LOADING = 1;
41 const unsigned short DONE = 2; 41 const unsigned short DONE = 2;
42 readonly attribute unsigned short readyState; 42 readonly attribute unsigned short readyState;
43 43
44 // async read methods 44 // async read methods
45 [RaisesException] void readAsArrayBuffer(Blob blob); 45 [RaisesException] void readAsArrayBuffer(Blob blob);
46 [RaisesException] void readAsBinaryString(Blob blob); 46 [RaisesException] void readAsBinaryString(Blob blob);
47 [RaisesException] void readAsText(Blob blob, optional DOMString encoding); 47 [RaisesException] void readAsText(Blob blob, optional DOMString encoding);
48 [RaisesException] void readAsDataURL(Blob blob); 48 [RaisesException] void readAsDataURL(Blob blob);
49 [EnabledAtRuntime=stream, RaisesException] void readAsArrayBuffer(Stream str eam);
49 50
50 void abort(); 51 void abort();
51 52
52 // file data 53 // file data
53 [Custom] readonly attribute any result; 54 [Custom] readonly attribute any result;
54 55
55 readonly attribute FileError error; 56 readonly attribute FileError error;
56 57
57 attribute EventListener onloadstart; 58 attribute EventListener onloadstart;
58 attribute EventListener onprogress; 59 attribute EventListener onprogress;
59 attribute EventListener onload; 60 attribute EventListener onload;
60 attribute EventListener onabort; 61 attribute EventListener onabort;
61 attribute EventListener onerror; 62 attribute EventListener onerror;
62 attribute EventListener onloadend; 63 attribute EventListener onloadend;
63 }; 64 };
OLDNEW
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | public/platform/WebBlobRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698