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

Side by Side Diff: lib/dom/src/native_FactoryProviders.dart

Issue 10142001: 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:
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 // These factory providers are for interfaces that do not have factory providers 5 // These factory providers are for interfaces that do not have factory providers
6 // generated automatically from a Constructor or NamedConstructor extended 6 // generated automatically from a Constructor or NamedConstructor extended
7 // attribute. 7 // attribute.
8 8
9 class _AudioContextFactoryProvider { 9 class _AudioContextFactoryProvider {
10 factory AudioContext() => FactoryProviderImplementation.createAudioContext(); 10 factory AudioContext() => FactoryProviderImplementation.createAudioContext();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 => FactoryProviderImplementation.U32(buffer, byteOffset, length); 52 => FactoryProviderImplementation.U32(buffer, byteOffset, length);
53 } 53 }
54 54
55 class _WebKitPointFactoryProvider { 55 class _WebKitPointFactoryProvider {
56 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi tPoint(x, y); 56 factory WebKitPoint(num x, num y) => FactoryProviderImplementation.createWebKi tPoint(x, y);
57 } 57 }
58 58
59 class _WebSocketFactoryProvider { 59 class _WebSocketFactoryProvider {
60 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket (url); 60 factory WebSocket(String url) => FactoryProviderImplementation.createWebSocket (url);
61 } 61 }
62
63 class _IDBKeyRangeFactoryProvider {
64
65 factory IDBKeyRange.only(/*IDBKey*/ value) =>
66 FactoryProviderImplementation.IDBKeyRange_only(value);
67
68 factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) =>
69 FactoryProviderImplementation.IDBKeyRange_lowerBound(bound, open);
70
71 factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open = false]) =>
72 FactoryProviderImplementation.IDBKeyRange_upperBound(bound, open);
73
74 factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
75 [bool lowerOpen = false, bool upperOpen = false]) =>
76 FactoryProviderImplementation.IDBKeyRange_bound(lower, upper,
77 lowerOpen, upperOpen);
78 }
OLDNEW
« no previous file with comments | « lib/dom/src/frog_IDBKeyRangeFactoryProvider.dart ('k') | lib/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698