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

Side by Side Diff: third_party/WebCore/fileapi/FileReader.idl

Issue 10542124: Roll IDL to multivm@603 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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) 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 JSNoStaticTables 39 JSNoStaticTables
40 ] FileReader { 40 ] FileReader {
41 // ready states 41 // ready states
42 const unsigned short EMPTY = 0; 42 const unsigned short EMPTY = 0;
43 const unsigned short LOADING = 1; 43 const unsigned short LOADING = 1;
44 const unsigned short DONE = 2; 44 const unsigned short DONE = 2;
45 readonly attribute unsigned short readyState; 45 readonly attribute unsigned short readyState;
46 46
47 // async read methods 47 // async read methods
48 void readAsArrayBuffer(in Blob blob) 48 void readAsArrayBuffer(in Blob blob)
49 raises(OperationNotAllowedException); 49 raises(DOMException);
50 void readAsBinaryString(in Blob blob) 50 void readAsBinaryString(in Blob blob)
51 raises(OperationNotAllowedException); 51 raises(DOMException);
52 void readAsText(in Blob blob, in [Optional] DOMString encoding) 52 void readAsText(in Blob blob, in [Optional] DOMString encoding)
53 raises(OperationNotAllowedException); 53 raises(DOMException);
54 void readAsDataURL(in Blob blob) 54 void readAsDataURL(in Blob blob)
55 raises(OperationNotAllowedException); 55 raises(DOMException);
56 56
57 void abort(); 57 void abort();
58 58
59 // file data 59 // file data
60 readonly attribute [Custom] DOMObject result; 60 readonly attribute [Custom] DOMObject result;
61 61
62 readonly attribute FileError error; 62 readonly attribute FileError error;
63 63
64 // EventTarget interface 64 // EventTarget interface
65 void addEventListener(in DOMString type, 65 void addEventListener(in DOMString type,
66 in EventListener listener, 66 in EventListener listener,
67 in [Optional] boolean useCapture); 67 in [Optional] boolean useCapture);
68 void removeEventListener(in DOMString type, 68 void removeEventListener(in DOMString type,
69 in EventListener listener, 69 in EventListener listener,
70 in [Optional] boolean useCapture); 70 in [Optional] boolean useCapture);
71 boolean dispatchEvent(in Event evt) 71 boolean dispatchEvent(in Event evt)
72 raises(EventException); 72 raises(EventException);
73 73
74 attribute EventListener onloadstart; 74 attribute EventListener onloadstart;
75 attribute EventListener onprogress; 75 attribute EventListener onprogress;
76 attribute EventListener onload; 76 attribute EventListener onload;
77 attribute EventListener onabort; 77 attribute EventListener onabort;
78 attribute EventListener onerror; 78 attribute EventListener onerror;
79 attribute EventListener onloadend; 79 attribute EventListener onloadend;
80 }; 80 };
81 } 81 }
OLDNEW
« no previous file with comments | « third_party/WebCore/fileapi/FileList.idl ('k') | third_party/WebCore/fileapi/OperationNotAllowedException.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698