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

Unified Diff: client/html/generated/html/frog/WorkerContext.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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
Index: client/html/generated/html/frog/WorkerContext.dart
diff --git a/client/html/generated/html/frog/WorkerContext.dart b/client/html/generated/html/frog/WorkerContext.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e943073d1d4621559eb1b5a0383d8da40f990b9c
--- /dev/null
+++ b/client/html/generated/html/frog/WorkerContext.dart
@@ -0,0 +1,49 @@
+
+class _WorkerContextImpl implements WorkerContext native "*WorkerContext" {
+
+ static final int PERSISTENT = 1;
+
+ static final int TEMPORARY = 0;
+
+ final _WorkerLocationImpl location;
+
+ final _WorkerNavigatorImpl navigator;
+
+ EventListener onerror;
+
+ final _WorkerContextImpl self;
+
+ final _IDBFactoryImpl webkitIndexedDB;
+
+ final _NotificationCenterImpl webkitNotifications;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ void clearInterval(int handle) native;
+
+ void clearTimeout(int handle) native;
+
+ void close() native;
+
+ bool dispatchEvent(_EventImpl evt) native;
+
+ void importScripts() native;
+
+ _DatabaseImpl openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
+
+ _DatabaseSyncImpl openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ int setInterval(TimeoutHandler handler, int timeout) native;
+
+ int setTimeout(TimeoutHandler handler, int timeout) native;
+
+ void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback = null, ErrorCallback errorCallback = null]) native;
+
+ _DOMFileSystemSyncImpl webkitRequestFileSystemSync(int type, int size) native;
+
+ _EntrySyncImpl webkitResolveLocalFileSystemSyncURL(String url) native;
+
+ void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallback = null, ErrorCallback errorCallback = null]) native;
+}

Powered by Google App Engine
This is Rietveld 408576698