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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 class DOMApplicationCacheEventsImplementation extends EventsImplementation
6 implements DOMApplicationCacheEvents {
7 DOMApplicationCacheEventsImplementation._wrap(ptr) : super._wrap(ptr);
8
9 EventListenerList get cached() => _get('cached');
10 EventListenerList get checking() => _get('checking');
11 EventListenerList get downloading() => _get('downloading');
12 EventListenerList get error() => _get('error');
13 EventListenerList get noUpdate() => _get('noupdate');
14 EventListenerList get obsolete() => _get('obsolete');
15 EventListenerList get progress() => _get('progress');
16 EventListenerList get updateReady() => _get('updateready');
17 }
18
19 class DOMApplicationCacheWrappingImplementation extends EventTargetWrappingImple mentation implements DOMApplicationCache {
20 DOMApplicationCacheWrappingImplementation._wrap(ptr) : super._wrap(ptr);
21
22 int get status() => _ptr.status;
23
24 void swapCache() {
25 _ptr.swapCache();
26 }
27
28 void update() {
29 _ptr.update();
30 }
31
32 DOMApplicationCacheEvents get on() {
33 if (_on === null) {
34 _on = new DOMApplicationCacheEventsImplementation._wrap(_ptr);
35 }
36 return _on;
37 }
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698