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

Side by Side Diff: lib/html/src/dart2js_IDBOpenDBRequestImplementation.dart

Issue 10800104: Convert DOM and HTML frog to dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // IDBOpenDBRequest. IDBFactory.open returns a plain IDBRequest on Chrome and 5 // IDBOpenDBRequest. IDBFactory.open returns a plain IDBRequest on Chrome and
6 // Dartium but an IDBOpenDBRequest on Firefox. Chrome/Dartium is expected to 6 // Dartium but an IDBOpenDBRequest on Firefox. Chrome/Dartium is expected to
7 // change at some point as IDBOpenDBRequest is more standard. When it appears 7 // change at some point as IDBOpenDBRequest is more standard. When it appears
8 // in the WebKit IDL we can remove this hand-written file. 8 // in the WebKit IDL we can remove this hand-written file.
9 // 9 //
10 // See: 10 // See:
11 // http://www.w3.org/TR/IndexedDB/#request-api 11 // http://www.w3.org/TR/IndexedDB/#request-api
12 // http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#request-api 12 // http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#request-api
13 13
14 class _IDBOpenDBRequestImpl extends _IDBRequestImpl implements IDBOpenDBRequest 14 class _IDBOpenDBRequestImpl extends _IDBRequestImpl implements IDBOpenDBRequest
15 native "*IDBOpenDBRequest" { 15 native "*IDBOpenDBRequest" {
16 16
17 _IDBOpenDBRequestEventsImpl get on() => 17 _IDBOpenDBRequestEventsImpl get on() =>
18 new _IDBOpenDBRequestEventsImpl(this); 18 new _IDBOpenDBRequestEventsImpl(this);
19 } 19 }
20 20
21 class _IDBOpenDBRequestEventsImpl extends _IDBRequestEventsImpl implements IDBOp enDBRequestEvents { 21 class _IDBOpenDBRequestEventsImpl extends _IDBRequestEventsImpl implements IDBOp enDBRequestEvents {
22 _IDBOpenDBRequestEventsImpl(_ptr) : super(_ptr); 22 _IDBOpenDBRequestEventsImpl(_ptr) : super(_ptr);
23 23
24 EventListenerList get blocked() => _get('blocked'); 24 EventListenerList get blocked() => _get('blocked');
25 25
26 EventListenerList get upgradeneeded() => _get('upgradeneeded'); 26 EventListenerList get upgradeneeded() => _get('upgradeneeded');
27 } 27 }
OLDNEW
« no previous file with comments | « lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart ('k') | lib/html/src/dart2js_LocationWrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698