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

Unified Diff: lib/dom/src/native_FactoryProvidersImplementation.dart

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Introducing AddStaticOperation 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 | « lib/dom/scripts/systemwrapping.py ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/src/native_FactoryProvidersImplementation.dart
diff --git a/lib/dom/src/native_FactoryProvidersImplementation.dart b/lib/dom/src/native_FactoryProvidersImplementation.dart
index 327c2bad414e9de89abf5a595ade57ce55e859d2..c76a43ca4dc1fb3f2b5b3f9323a0b73cc2460eb1 100644
--- a/lib/dom/src/native_FactoryProvidersImplementation.dart
+++ b/lib/dom/src/native_FactoryProvidersImplementation.dart
@@ -21,8 +21,8 @@ class FactoryProviderImplementation {
static WebKitPoint createWebKitPoint(num x, num y) native "WebKitPoint_constructor_Callback";
static WebSocket createWebSocket(String url) native "WebSocket_constructor_Callback";
- static IDBKeyRange IDBKeyRange_only(value) native "IDBKeyRange_only_Callback";
- static IDBKeyRange IDBKeyRange_lowerBound(bound, open) native "IDBKeyRange_lowerBound_Callback";
- static IDBKeyRange IDBKeyRange_upperBound(bound, open) native "IDBKeyRange_upperBound_Callback";
- static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) native "IDBKeyRange_bound_Callback";
+ static IDBKeyRange IDBKeyRange_only(value) => IDBKeyRangeImplementation.only(value);
+ static IDBKeyRange IDBKeyRange_lowerBound(bound, open) => IDBKeyRangeImplementation.lowerBound(bound, open);
+ static IDBKeyRange IDBKeyRange_upperBound(bound, open) => IDBKeyRangeImplementation.upperBound(bound, open);
+ static IDBKeyRange IDBKeyRange_bound(lower, upper, lowerOpen, upperOpen) => IDBKeyRangeImplementation.bound(lower, upper,lowerOpen, upperOpen);
}
« no previous file with comments | « lib/dom/scripts/systemwrapping.py ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698