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

Unified Diff: client/html/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.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/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart b/client/html/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart
deleted file mode 100644
index 76b8911b3b6b600c2e03905b91ce7598f620fde5..0000000000000000000000000000000000000000
--- a/client/html/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart
+++ /dev/null
@@ -1,71 +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.
-
-// WARNING: Do not edit - generated code.
-
-class IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements IDBObjectStore {
- IDBObjectStoreWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
-
- String get keyPath() { return _ptr.keyPath; }
-
- String get name() { return _ptr.name; }
-
- IDBTransaction get transaction() { return LevelDom.wrapIDBTransaction(_ptr.transaction); }
-
- IDBRequest add(String value, [IDBKey key]) {
- if (key === null) {
- return LevelDom.wrapIDBRequest(_ptr.add(value));
- } else {
- return LevelDom.wrapIDBRequest(_ptr.add(value, LevelDom.unwrap(key)));
- }
- }
-
- IDBRequest clear() {
- return LevelDom.wrapIDBRequest(_ptr.clear());
- }
-
- IDBIndex createIndex(String name, String keyPath) {
- return LevelDom.wrapIDBIndex(_ptr.createIndex(name, keyPath));
- }
-
- IDBRequest delete(IDBKey key) {
- return LevelDom.wrapIDBRequest(_ptr.delete(LevelDom.unwrap(key)));
- }
-
- void deleteIndex(String name) {
- _ptr.deleteIndex(name);
- return;
- }
-
- IDBRequest getObject(IDBKey key) {
- return LevelDom.wrapIDBRequest(_ptr.getObject(LevelDom.unwrap(key)));
- }
-
- IDBIndex index(String name) {
- return LevelDom.wrapIDBIndex(_ptr.index(name));
- }
-
- IDBRequest openCursor([IDBKeyRange range, int direction]) {
- if (range === null) {
- if (direction === null) {
- return LevelDom.wrapIDBRequest(_ptr.openCursor());
- }
- } else {
- if (direction === null) {
- return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range)));
- } else {
- return LevelDom.wrapIDBRequest(_ptr.openCursor(LevelDom.unwrap(range), direction));
- }
- }
- throw "Incorrect number or type of arguments";
- }
-
- IDBRequest put(String value, [IDBKey key]) {
- if (key === null) {
- return LevelDom.wrapIDBRequest(_ptr.put(value));
- } else {
- return LevelDom.wrapIDBRequest(_ptr.put(value, LevelDom.unwrap(key)));
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698