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

Side by Side Diff: client/html/generated/src/wrapping/_IDBTransactionWrappingImplementation.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 IDBTransactionWrappingImplementation extends DOMWrapperBase implements IDB Transaction {
8 IDBTransactionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 IDBDatabase get db() { return LevelDom.wrapIDBDatabase(_ptr.db); }
11
12 int get mode() { return _ptr.mode; }
13
14 void abort() {
15 _ptr.abort();
16 return;
17 }
18
19 void addEventListener(String type, EventListener listener, [bool useCapture]) {
20 if (useCapture === null) {
21 _ptr.addEventListener(type, LevelDom.unwrap(listener));
22 return;
23 } else {
24 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture);
25 return;
26 }
27 }
28
29 bool dispatchEvent(Event evt) {
30 return _ptr.dispatchEvent(LevelDom.unwrap(evt));
31 }
32
33 IDBObjectStore objectStore(String name) {
34 return LevelDom.wrapIDBObjectStore(_ptr.objectStore(name));
35 }
36
37 void removeEventListener(String type, EventListener listener, [bool useCapture ]) {
38 if (useCapture === null) {
39 _ptr.removeEventListener(type, LevelDom.unwrap(listener));
40 return;
41 } else {
42 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture);
43 return;
44 }
45 }
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698