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

Unified Diff: lib/dom/dom.dart

Issue 10142001: Revert "Constructors for IDBKeyRange" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
« no previous file with comments | « client/tests/client/client.status ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index cec2e71d6612f160c083356b8681ab7bf931cafd..6f5b6bf0414fcdec8f34005c1b19c231dfd27d01 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -5192,17 +5192,7 @@ interface IDBKey {
// WARNING: Do not edit - generated code.
-interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
-
- IDBKeyRange.only(/*IDBKey*/ value);
-
- IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]);
-
- IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]);
-
- IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen, bool upperOpen]);
-
+interface IDBKeyRange {
final /*IDBKey*/ lower;
@@ -5211,6 +5201,14 @@ interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
final /*IDBKey*/ upper;
final bool upperOpen;
+
+ IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool upperOpen]);
+
+ IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open]);
+
+ IDBKeyRange only(/*IDBKey*/ value);
+
+ IDBKeyRange upperBound(/*IDBKey*/ bound, [bool open]);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -12860,15 +12858,6 @@ class _AudioContextFactoryProvider {
factory AudioContext() => _dummy();
}
-class _IDBKeyRangeFactoryProvider {
-
- factory IDBKeyRange.only(/*IDBKey*/ value) => _dummy();
- factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]) => _dummy();
- factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]) => _dummy();
- factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen, bool upperOpen]) => _dummy();
-}
-
class _TypedArrayFactoryProvider {
factory Float32Array(int length) => _dummy();
« no previous file with comments | « client/tests/client/client.status ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698