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

Unified Diff: lib/dom/dom.dart

Issue 10128001: Constructors for IDBKeyRange (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 6f5b6bf0414fcdec8f34005c1b19c231dfd27d01..cec2e71d6612f160c083356b8681ab7bf931cafd 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -5192,23 +5192,25 @@ interface IDBKey {
// WARNING: Do not edit - generated code.
-interface IDBKeyRange {
+interface IDBKeyRange default _IDBKeyRangeFactoryProvider {
- final /*IDBKey*/ lower;
+ IDBKeyRange.only(/*IDBKey*/ value);
- final bool lowerOpen;
+ IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]);
- final /*IDBKey*/ upper;
+ IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]);
+
+ IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
+ [bool lowerOpen, bool upperOpen]);
- final bool upperOpen;
- IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool upperOpen]);
+ final /*IDBKey*/ lower;
- IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open]);
+ final bool lowerOpen;
- IDBKeyRange only(/*IDBKey*/ value);
+ final /*IDBKey*/ upper;
- IDBKeyRange upperBound(/*IDBKey*/ bound, [bool open]);
+ final bool upperOpen;
}
// 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
@@ -12858,6 +12860,15 @@ 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