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

Unified Diff: client/html/src/DOMApplicationCacheWrappingImplementation.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/src/DOMApplicationCacheWrappingImplementation.dart
diff --git a/client/html/src/DOMApplicationCacheWrappingImplementation.dart b/client/html/src/DOMApplicationCacheWrappingImplementation.dart
deleted file mode 100644
index 52c91c26bb224c7e5d2116da6f3cdd3463566001..0000000000000000000000000000000000000000
--- a/client/html/src/DOMApplicationCacheWrappingImplementation.dart
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011, 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.
-
-class DOMApplicationCacheEventsImplementation extends EventsImplementation
- implements DOMApplicationCacheEvents {
- DOMApplicationCacheEventsImplementation._wrap(ptr) : super._wrap(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');
-}
-
-class DOMApplicationCacheWrappingImplementation extends EventTargetWrappingImplementation implements DOMApplicationCache {
- DOMApplicationCacheWrappingImplementation._wrap(ptr) : super._wrap(ptr);
-
- int get status() => _ptr.status;
-
- void swapCache() {
- _ptr.swapCache();
- }
-
- void update() {
- _ptr.update();
- }
-
- DOMApplicationCacheEvents get on() {
- if (_on === null) {
- _on = new DOMApplicationCacheEventsImplementation._wrap(_ptr);
- }
- return _on;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698