| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:_blink library. | 6 // Auto-generated dart:_blink library. |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * This library provides entry points to the native Blink code which backs | 9 * This library provides entry points to the native Blink code which backs |
| 10 * up the dart:html library. | 10 * up the dart:html library. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 import 'dart:nativewrappers'; | 28 import 'dart:nativewrappers'; |
| 29 import 'dart:typed_data'; | 29 import 'dart:typed_data'; |
| 30 import 'dart:web_gl' as gl; | 30 import 'dart:web_gl' as gl; |
| 31 import 'dart:web_gl' show web_glBlinkMap; | 31 import 'dart:web_gl' show web_glBlinkMap; |
| 32 import 'dart:web_sql'; | 32 import 'dart:web_sql'; |
| 33 // Not actually used, but imported since dart:html can generate these objects. | 33 // Not actually used, but imported since dart:html can generate these objects. |
| 34 import 'dart:svg' as svg; | 34 import 'dart:svg' as svg; |
| 35 import 'dart:svg' show Matrix; | 35 import 'dart:svg' show Matrix; |
| 36 import 'dart:svg' show SvgSvgElement; | 36 import 'dart:svg' show SvgSvgElement; |
| 37 import 'dart:svg' show svgBlinkMap; | 37 import 'dart:svg' show svgBlinkMap; |
| 38 import 'dart:web_audio' show AudioNode, AudioParam; | 38 import 'dart:web_audio' show AudioNode, AudioParam, web_audioBlinkMap; |
| 39 | 39 |
| 40 part '$AUXILIARY_DIR/blink_native_DOMImplementation.dart'; | 40 part '$AUXILIARY_DIR/blink_native_DOMImplementation.dart'; |
| 41 | 41 |
| 42 $!GENERATED_DART_FILES | 42 $!GENERATED_DART_FILES |
| 43 | 43 |
| 44 // TODO(vsm): This should be moved out of this library. Into dart:html? | 44 // TODO(vsm): This should be moved out of this library. Into dart:html? |
| 45 Type _getType(String key) { | 45 Type _getType(String key) { |
| 46 // TODO(vsm): Add Cross Frame and JS types here as well. | 46 // TODO(vsm): Add Cross Frame and JS types here as well. |
| 47 if (htmlBlinkMap.containsKey(key)) | 47 if (htmlBlinkMap.containsKey(key)) |
| 48 return htmlBlinkMap[key]; | 48 return htmlBlinkMap[key]; |
| 49 if (indexed_dbBlinkMap.containsKey(key)) | 49 if (indexed_dbBlinkMap.containsKey(key)) |
| 50 return indexed_dbBlinkMap[key]; | 50 return indexed_dbBlinkMap[key]; |
| 51 if (web_audioBlinkMap.containsKey(key)) | 51 if (web_audioBlinkMap.containsKey(key)) |
| 52 return web_audioBlinkMap[key]; | 52 return web_audioBlinkMap[key]; |
| 53 if (web_glBlinkMap.containsKey(key)) | 53 if (web_glBlinkMap.containsKey(key)) |
| 54 return web_glBlinkMap[key]; | 54 return web_glBlinkMap[key]; |
| 55 if (web_sqlBlinkMap.containsKey(key)) | 55 if (web_sqlBlinkMap.containsKey(key)) |
| 56 return web_sqlBlinkMap[key]; | 56 return web_sqlBlinkMap[key]; |
| 57 if (svgBlinkMap.containsKey(key)) | 57 if (svgBlinkMap.containsKey(key)) |
| 58 return svgBlinkMap[key]; | 58 return svgBlinkMap[key]; |
| 59 return null; | 59 return null; |
| 60 } | 60 } |
| OLD | NEW |