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

Unified Diff: lib/html/dartium/html_dartium.dart

Issue 10151002: Revert "Revert "Revert "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/dom/templates/dom/interface/interface_IDBKeyRange.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index 4a85d9ce33e5bf9b543b47efb757eff344e87a77..2db035463ca0fd2b9f3c6cb2d9271509b0cc1534 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -10402,41 +10402,6 @@ class _IDBKeyRangeImpl extends _DOMTypeBase implements IDBKeyRange {
Dynamic get upper() => _wrap(_ptr.upper);
bool get upperOpen() => _wrap(_ptr.upperOpen);
-
- IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen = null, bool upperOpen = null]) {
- if (lowerOpen === null) {
- if (upperOpen === null) {
- return _wrap(_ptr.bound(_unwrap(lower), _unwrap(upper)));
- }
- } else {
- if (upperOpen === null) {
- return _wrap(_ptr.bound(_unwrap(lower), _unwrap(upper), _unwrap(lowerOpen)));
- } else {
- return _wrap(_ptr.bound(_unwrap(lower), _unwrap(upper), _unwrap(lowerOpen), _unwrap(upperOpen)));
- }
- }
- throw "Incorrect number or type of arguments";
- }
-
- IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open = null]) {
- if (open === null) {
- return _wrap(_ptr.lowerBound(_unwrap(bound)));
- } else {
- return _wrap(_ptr.lowerBound(_unwrap(bound), _unwrap(open)));
- }
- }
-
- IDBKeyRange only(/*IDBKey*/ value) {
- return _wrap(_ptr.only(_unwrap(value)));
- }
-
- IDBKeyRange upperBound(/*IDBKey*/ bound, [bool open = null]) {
- if (open === null) {
- return _wrap(_ptr.upperBound(_unwrap(bound)));
- } else {
- return _wrap(_ptr.upperBound(_unwrap(bound), _unwrap(open)));
- }
- }
}
class _IDBObjectStoreImpl extends _DOMTypeBase implements IDBObjectStore {
@@ -29814,18 +29779,6 @@ 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/dom/templates/dom/interface/interface_IDBKeyRange.darttemplate ('k') | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698