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

Unified Diff: client/html/generated/html/frog/DOMApplicationCache.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/DOMApplicationCache.dart
diff --git a/client/html/generated/html/frog/DOMApplicationCache.dart b/client/html/generated/html/frog/DOMApplicationCache.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d450a089af54915eac55aec97a311f99b8559e31
--- /dev/null
+++ b/client/html/generated/html/frog/DOMApplicationCache.dart
@@ -0,0 +1,52 @@
+
+class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicationCache native "*DOMApplicationCache" {
+
+ static final int CHECKING = 2;
+
+ static final int DOWNLOADING = 3;
+
+ static final int IDLE = 1;
+
+ static final int OBSOLETE = 5;
+
+ static final int UNCACHED = 0;
+
+ static final int UPDATEREADY = 4;
+
+ final int status;
+
+ _DOMApplicationCacheEventsImpl get on() =>
+ new _DOMApplicationCacheEventsImpl(this);
+
+ void abort() native;
+
+ void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
+
+ bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);";
+
+ void _removeEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.removeEventListener(type, listener, useCapture);";
+
+ void swapCache() native;
+
+ void update() native;
+}
+
+class _DOMApplicationCacheEventsImpl extends _EventsImpl implements DOMApplicationCacheEvents {
+ _DOMApplicationCacheEventsImpl(_ptr) : super(_ptr);
+
+ EventListenerList get cached() => _get('cached');
+
+ EventListenerList get checking() => _get('checking');
+
+ EventListenerList get downloading() => _get('downloading');
+
+ EventListenerList get error() => _get('error');
+
+ EventListenerList get noUpdate() => _get('noupdate');
+
+ EventListenerList get obsolete() => _get('obsolete');
+
+ EventListenerList get progress() => _get('progress');
+
+ EventListenerList get updateReady() => _get('updateready');
+}

Powered by Google App Engine
This is Rietveld 408576698