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

Unified Diff: lib/html/frog/html_frog.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:
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index f8d7217e78ce99f46c41db63265b7c795180828a..187a941e4b4f963f79819ff0868f80231e05ef7c 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -7534,6 +7534,14 @@ class _IDBKeyRangeImpl implements IDBKeyRange native "*IDBKeyRange" {
final Dynamic upper;
final bool upperOpen;
+
+ _IDBKeyRangeImpl bound(lower, upper, [bool lowerOpen = null, bool upperOpen = null]) native;
+
+ _IDBKeyRangeImpl lowerBound(bound, [bool open = null]) native;
+
+ _IDBKeyRangeImpl only(value) native;
+
+ _IDBKeyRangeImpl upperBound(bound, [bool open = null]) native;
}
class _IDBObjectStoreImpl implements IDBObjectStore native "*IDBObjectStore" {
@@ -24325,6 +24333,18 @@ interface IDBKeyRange {
/** @domName IDBKeyRange.upperOpen */
final bool upperOpen;
+
+ /** @domName IDBKeyRange.bound */
+ IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool upperOpen]);
+
+ /** @domName IDBKeyRange.lowerBound */
+ IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open]);
+
+ /** @domName IDBKeyRange.only */
+ IDBKeyRange only(/*IDBKey*/ value);
+
+ /** @domName IDBKeyRange.upperBound */
+ 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
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698