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

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: 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
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..9bc91adee3613c7ca441d9cb884d61dc21c7f9c9 100644
--- a/lib/dom/src/native_FactoryProvidersImplementation.dart
+++ b/lib/dom/src/native_FactoryProvidersImplementation.dart
@@ -15,14 +15,15 @@ class FactoryProviderImplementation {
static Int16Array I16(_arg0, [_arg1, _arg2]) native "Int16Array_constructor_Callback";
static Int32Array I32(_arg0, [_arg1, _arg2]) native "Int32Array_constructor_Callback";
static Uint8Array U8(_arg0, [_arg1, _arg2]) native "Uint8Array_constructor_Callback";
+ static Uint8Array U8C(_arg0, [_arg1, _arg2]) native "Uint8ClampedArray_constructor_Callback";
static Uint16Array U16(_arg0, [_arg1, _arg2]) native "Uint16Array_constructor_Callback";
static Uint32Array U32(_arg0, [_arg1, _arg2]) native "Uint32Array_constructor_Callback";
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);
}

Powered by Google App Engine
This is Rietveld 408576698