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

Unified Diff: lib/html/doc/interface/WorkerContext.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/Worker.dartdoc ('k') | lib/html/doc/interface/WorkerLocation.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/WorkerContext.dartdoc
diff --git a/lib/html/doc/interface/WorkerContext.dartdoc b/lib/html/doc/interface/WorkerContext.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..4278057f536cda6e4f4f9bada091c1f50fb34306
--- /dev/null
+++ b/lib/html/doc/interface/WorkerContext.dartdoc
@@ -0,0 +1,85 @@
+// 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 WorkerContext
+interface WorkerContext extends EventTarget {
+
+ /**
+ * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
+ */
+ WorkerContextEvents get on();
+
+ static final int PERSISTENT = 1;
+
+ static final int TEMPORARY = 0;
+
+ /** @domName WorkerContext.location */
+ final WorkerLocation location;
+
+ /** @domName WorkerContext.navigator */
+ final WorkerNavigator navigator;
+
+ /** @domName WorkerContext.self */
+ final WorkerContext self;
+
+ /** @domName WorkerContext.webkitIndexedDB */
+ final IDBFactory webkitIndexedDB;
+
+ /** @domName WorkerContext.webkitNotifications */
+ final NotificationCenter webkitNotifications;
+
+ /** @domName WorkerContext.addEventListener */
+ void $dom_addEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName WorkerContext.clearInterval */
+ void clearInterval(int handle);
+
+ /** @domName WorkerContext.clearTimeout */
+ void clearTimeout(int handle);
+
+ /** @domName WorkerContext.close */
+ void close();
+
+ /** @domName WorkerContext.dispatchEvent */
+ bool $dom_dispatchEvent(Event evt);
+
+ /** @domName WorkerContext.importScripts */
+ void importScripts();
+
+ /** @domName WorkerContext.openDatabase */
+ Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
+
+ /** @domName WorkerContext.openDatabaseSync */
+ DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
+
+ /** @domName WorkerContext.removeEventListener */
+ void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]);
+
+ /** @domName WorkerContext.setInterval */
+ int setInterval(TimeoutHandler handler, int timeout);
+
+ /** @domName WorkerContext.setTimeout */
+ int setTimeout(TimeoutHandler handler, int timeout);
+
+ /** @domName WorkerContext.webkitRequestFileSystem */
+ void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]);
+
+ /** @domName WorkerContext.webkitRequestFileSystemSync */
+ DOMFileSystemSync webkitRequestFileSystemSync(int type, int size);
+
+ /** @domName WorkerContext.webkitResolveLocalFileSystemSyncURL */
+ EntrySync webkitResolveLocalFileSystemSyncURL(String url);
+
+ /** @domName WorkerContext.webkitResolveLocalFileSystemURL */
+ void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback, ErrorCallback errorCallback]);
+}
+
+interface WorkerContextEvents extends Events {
+
+ EventListenerList get error();
+}
« no previous file with comments | « lib/html/doc/interface/Worker.dartdoc ('k') | lib/html/doc/interface/WorkerLocation.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698