| OLD | NEW | 
|    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 part of html; |    5 part of html; | 
|    6  |    6  | 
|    7 class _AudioContextFactoryProvider { |  | 
|    8   static AudioContext createAudioContext() => _createAudioContext(); |  | 
|    9   static _createAudioContext([int numberOfChannels, |  | 
|   10                               int numberOfFrames, |  | 
|   11                               int sampleRate]) |  | 
|   12       native "AudioContext_constructor_Callback"; |  | 
|   13 } |  | 
|   14  |  | 
|   15 class _IDBKeyRangeFactoryProvider { |    7 class _IDBKeyRangeFactoryProvider { | 
|   16  |    8  | 
|   17   static IDBKeyRange createIDBKeyRange_only(/*IDBKey*/ value) => |    9   static IDBKeyRange createIDBKeyRange_only(/*IDBKey*/ value) => | 
|   18       IDBKeyRange.only_(value); |   10       IDBKeyRange.only_(value); | 
|   19  |   11  | 
|   20   static IDBKeyRange createIDBKeyRange_lowerBound( |   12   static IDBKeyRange createIDBKeyRange_lowerBound( | 
|   21       /*IDBKey*/ bound, [bool open = false]) => |   13       /*IDBKey*/ bound, [bool open = false]) => | 
|   22       IDBKeyRange.lowerBound_(bound, open); |   14       IDBKeyRange.lowerBound_(bound, open); | 
|   23  |   15  | 
|   24   static IDBKeyRange createIDBKeyRange_upperBound( |   16   static IDBKeyRange createIDBKeyRange_upperBound( | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  105 } |   97 } | 
|  106  |   98  | 
|  107 class _WebSocketFactoryProvider { |   99 class _WebSocketFactoryProvider { | 
|  108   static WebSocket createWebSocket(String url) => _createWebSocket(url); |  100   static WebSocket createWebSocket(String url) => _createWebSocket(url); | 
|  109   static _createWebSocket(String url) native "WebSocket_constructor_Callback"; |  101   static _createWebSocket(String url) native "WebSocket_constructor_Callback"; | 
|  110 } |  102 } | 
|  111  |  103  | 
|  112 class _TextFactoryProvider { |  104 class _TextFactoryProvider { | 
|  113   static Text createText(String data) => document.$dom_createTextNode(data); |  105   static Text createText(String data) => document.$dom_createTextNode(data); | 
|  114 } |  106 } | 
| OLD | NEW |