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

Unified Diff: lib/html/doc/interface/FileReader.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/doc/interface/FileList.dartdoc ('k') | lib/html/doc/interface/FileReaderSync.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/FileReader.dartdoc
diff --git a/lib/html/doc/interface/FileReader.dartdoc b/lib/html/doc/interface/FileReader.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..66c3f0ad611db5504c0f7e25a94317d9467ba31f
--- /dev/null
+++ b/lib/html/doc/interface/FileReader.dartdoc
@@ -0,0 +1,72 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING:
+// This file contains documentation that is merged into the real source.
+// Do not make code changes here.
+
+/// @domName FileReader
+interface FileReader extends EventTarget default _FileReaderFactoryProvider {
+
+ FileReader();
+
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ FileReaderEvents get on();
+
+ static final int DONE = 2;
+
+ static final int EMPTY = 0;
+
+ static final int LOADING = 1;
+
+ /** @domName FileReader.error */
+ final FileError error;
+
+ /** @domName FileReader.readyState */
+ final int readyState;
+
+ /** @domName FileReader.result */
+ final Object result;
+
+ /** @domName FileReader.abort */
+ void abort();
+
+ /** @domName FileReader.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName FileReader.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
+
+ /** @domName FileReader.readAsArrayBuffer */
+ void readAsArrayBuffer(Blob blob);
+
+ /** @domName FileReader.readAsBinaryString */
+ void readAsBinaryString(Blob blob);
+
+ /** @domName FileReader.readAsDataURL */
+ void readAsDataURL(Blob blob);
+
+ /** @domName FileReader.readAsText */
+ void readAsText(Blob blob, [String encoding]);
+
+ /** @domName FileReader.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+}
+
+interface FileReaderEvents extends Events {
+
+ EventListenerList get abort();
+
+ EventListenerList get error();
+
+ EventListenerList get load();
+
+ EventListenerList get loadEnd();
+
+ EventListenerList get loadStart();
+
+ EventListenerList get progress();
+}
« no previous file with comments | « lib/html/doc/interface/FileList.dartdoc ('k') | lib/html/doc/interface/FileReaderSync.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698