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

Side by Side Diff: lib/html/doc/interface/FileWriter.dartdoc

Issue 10544064: Add dummy dart:html library for documentation. (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
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING:
6 // This file contains documentation that is merged into the real source.
7 // Do not make code changes here.
8
9 /// @domName FileWriter
10 interface FileWriter extends EventTarget {
11
12 /**
13 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve ntTarget.dispatchEvent
14 */
15 FileWriterEvents get on();
16
17 static final int DONE = 2;
18
19 static final int INIT = 0;
20
21 static final int WRITING = 1;
22
23 /** @domName FileWriter.error */
24 final FileError error;
25
26 /** @domName FileWriter.length */
27 final int length;
28
29 /** @domName FileWriter.position */
30 final int position;
31
32 /** @domName FileWriter.readyState */
33 final int readyState;
34
35 /** @domName FileWriter.abort */
36 void abort();
37
38 /** @domName FileWriter.addEventListener */
39 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]);
40
41 /** @domName FileWriter.dispatchEvent */
42 bool $dom_dispatchEvent(Event evt);
43
44 /** @domName FileWriter.removeEventListener */
45 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]);
46
47 /** @domName FileWriter.seek */
48 void seek(int position);
49
50 /** @domName FileWriter.truncate */
51 void truncate(int size);
52
53 /** @domName FileWriter.write */
54 void write(Blob data);
55 }
56
57 interface FileWriterEvents extends Events {
58
59 EventListenerList get abort();
60
61 EventListenerList get error();
62
63 EventListenerList get progress();
64
65 EventListenerList get write();
66
67 EventListenerList get writeEnd();
68
69 EventListenerList get writeStart();
70 }
OLDNEW
« no previous file with comments | « lib/html/doc/interface/FileSystemCallback.dartdoc ('k') | lib/html/doc/interface/FileWriterCallback.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698