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

Side by Side Diff: lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart

Issue 10800104: Convert DOM and HTML frog to dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class _IDBKeyRangeFactoryProvider { 5 class _IDBKeyRangeFactoryProvider {
6 6
7 factory IDBKeyRange.only(/*IDBKey*/ value) => 7 factory IDBKeyRange.only(/*IDBKey*/ value) =>
8 _only(_class(), _translateKey(value)); 8 _only(_class(), _translateKey(value));
9 9
10 factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) => 10 factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) =>
(...skipping 27 matching lines...) Expand all
38 static _IDBKeyRangeImpl _lowerBound(cls, bound, open) native 38 static _IDBKeyRangeImpl _lowerBound(cls, bound, open) native
39 '''return cls.lowerBound(bound, open);'''; 39 '''return cls.lowerBound(bound, open);''';
40 40
41 static _IDBKeyRangeImpl _upperBound(cls, bound, open) native 41 static _IDBKeyRangeImpl _upperBound(cls, bound, open) native
42 '''return cls.upperBound(bound, open);'''; 42 '''return cls.upperBound(bound, open);''';
43 43
44 static _IDBKeyRangeImpl _bound(cls, lower, upper, lowerOpen, upperOpen) native 44 static _IDBKeyRangeImpl _bound(cls, lower, upper, lowerOpen, upperOpen) native
45 '''return cls.bound(lower, upper, lowerOpen, upperOpen);'''; 45 '''return cls.bound(lower, upper, lowerOpen, upperOpen);''';
46 46
47 } 47 }
OLDNEW
« no previous file with comments | « lib/html/src/dart2js_FactoryProviders.dart ('k') | lib/html/src/dart2js_IDBOpenDBRequestImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698