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

Unified Diff: client/html/generated/src/wrapping/_IDBKeyRangeWrappingImplementation.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/_IDBKeyRangeWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_IDBKeyRangeWrappingImplementation.dart b/client/html/generated/src/wrapping/_IDBKeyRangeWrappingImplementation.dart
deleted file mode 100644
index 2afd791a6c69424459539a7957ee3e125f6eff23..0000000000000000000000000000000000000000
--- a/client/html/generated/src/wrapping/_IDBKeyRangeWrappingImplementation.dart
+++ /dev/null
@@ -1,52 +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 IDBKeyRangeWrappingImplementation extends DOMWrapperBase implements IDBKeyRange {
- IDBKeyRangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
-
- IDBKey get lower() { return LevelDom.wrapIDBKey(_ptr.lower); }
-
- bool get lowerOpen() { return _ptr.lowerOpen; }
-
- IDBKey get upper() { return LevelDom.wrapIDBKey(_ptr.upper); }
-
- bool get upperOpen() { return _ptr.upperOpen; }
-
- IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen]) {
- if (lowerOpen === null) {
- if (upperOpen === null) {
- return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), LevelDom.unwrap(upper)));
- }
- } else {
- if (upperOpen === null) {
- return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), LevelDom.unwrap(upper), lowerOpen));
- } else {
- return LevelDom.wrapIDBKeyRange(_ptr.bound(LevelDom.unwrap(lower), LevelDom.unwrap(upper), lowerOpen, upperOpen));
- }
- }
- throw "Incorrect number or type of arguments";
- }
-
- IDBKeyRange lowerBound(IDBKey bound, [bool open]) {
- if (open === null) {
- return LevelDom.wrapIDBKeyRange(_ptr.lowerBound(LevelDom.unwrap(bound)));
- } else {
- return LevelDom.wrapIDBKeyRange(_ptr.lowerBound(LevelDom.unwrap(bound), open));
- }
- }
-
- IDBKeyRange only(IDBKey value) {
- return LevelDom.wrapIDBKeyRange(_ptr.only(LevelDom.unwrap(value)));
- }
-
- IDBKeyRange upperBound(IDBKey bound, [bool open]) {
- if (open === null) {
- return LevelDom.wrapIDBKeyRange(_ptr.upperBound(LevelDom.unwrap(bound)));
- } else {
- return LevelDom.wrapIDBKeyRange(_ptr.upperBound(LevelDom.unwrap(bound), open));
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698