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 class _AudioContextFactoryProvider { | 5 class _AudioContextFactoryProvider { |
6 | 6 |
7 factory AudioContext() { return create(); } | 7 factory AudioContext() { return create(); } |
8 | 8 |
9 static AudioContext create() native; | 9 static AudioContext create() native; |
10 } | 10 } |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 static WebKitPoint create(url) native; | 95 static WebKitPoint create(url) native; |
96 } | 96 } |
97 | 97 |
98 class _XMLHttpRequestFactoryProvider { | 98 class _XMLHttpRequestFactoryProvider { |
99 | 99 |
100 factory XMLHttpRequest() { return create(); } | 100 factory XMLHttpRequest() { return create(); } |
101 | 101 |
102 static XMLHttpRequest create() native; | 102 static XMLHttpRequest create() native; |
103 } | 103 } |
| 104 |
| 105 class _XSLTProcessorFactoryProvider { |
| 106 |
| 107 factory XSLTProcessor() { return create(); } |
| 108 |
| 109 static XSLTProcessor create() native; |
| 110 } |
OLD | NEW |