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

Unified Diff: lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Further fixes to dartium. Created 8 years, 3 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
Index: lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate
diff --git a/lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate b/lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate
index 516a76e05cec77c9304e63c9c99582c1379893ce..f704324d0561c21f3ae195fd7fcb5332ca632b3d 100644
--- a/lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate
+++ b/lib/html/templates/html/interface/interface_IDBKeyRange.darttemplate
@@ -5,27 +5,32 @@
// WARNING: Do not edit - generated code.
$!COMMENT
-interface $ID$EXTENDS default _IDBKeyRangeFactoryProvider {
+abstract class $ID$EXTENDS {
/**
* @domName IDBKeyRange.only
*/
- IDBKeyRange.only(/*IDBKey*/ value);
+ factory IDBKeyRange.only(/*IDBKey*/ value) =>
+ _IDBKeyRangeFactoryProvider.create$(ID)_only(value);
/**
* @domName IDBKeyRange.lowerBound
*/
- IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]);
+ factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]) =>
+ _IDBKeyRangeFactoryProvider.create$(ID)_lowerBound(bound, open);
/**
* @domName IDBKeyRange.upperBound
*/
- IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]);
+ factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]) =>
+ _IDBKeyRangeFactoryProvider.create$(ID)_upperBound(bound, open);
/**
* @domName IDBKeyRange.bound
*/
- IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen, bool upperOpen]);
+ factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
+ [bool lowerOpen, bool upperOpen]) =>
+ _IDBKeyRangeFactoryProvider.create$(ID)_bound(
+ lower, upper, lowerOpen, upperOpen);
$!MEMBERS}

Powered by Google App Engine
This is Rietveld 408576698