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

Side by Side Diff: client/html/generated/src/wrapping/_IDBDatabaseWrappingImplementation.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 // WARNING: Do not edit - generated code.
6
7 class IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDat abase {
8 IDBDatabaseWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 String get name() { return _ptr.name; }
11
12 String get version() { return _ptr.version; }
13
14 void addEventListener(String type, EventListener listener, [bool useCapture]) {
15 if (useCapture === null) {
16 _ptr.addEventListener(type, LevelDom.unwrap(listener));
17 return;
18 } else {
19 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture);
20 return;
21 }
22 }
23
24 void close() {
25 _ptr.close();
26 return;
27 }
28
29 IDBObjectStore createObjectStore(String name) {
30 return LevelDom.wrapIDBObjectStore(_ptr.createObjectStore(name));
31 }
32
33 void deleteObjectStore(String name) {
34 _ptr.deleteObjectStore(name);
35 return;
36 }
37
38 bool dispatchEvent(Event evt) {
39 return _ptr.dispatchEvent(LevelDom.unwrap(evt));
40 }
41
42 void removeEventListener(String type, EventListener listener, [bool useCapture ]) {
43 if (useCapture === null) {
44 _ptr.removeEventListener(type, LevelDom.unwrap(listener));
45 return;
46 } else {
47 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture);
48 return;
49 }
50 }
51
52 IDBVersionChangeRequest setVersion(String version) {
53 return LevelDom.wrapIDBVersionChangeRequest(_ptr.setVersion(version));
54 }
55
56 IDBTransaction transaction(String storeName, int mode) {
57 return LevelDom.wrapIDBTransaction(_ptr.transaction(storeName, mode));
58 }
59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698