blob: 36c722ba8b82c20830b41b65fb61c40843b04930 [file] [log] [blame]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// DO NOT EDIT
// Auto-generated dart:_blink library.
/**
* This library provides entry points to the native Blink code which backs
* up the dart:html library.
*/
library dart.dom._blink;
// TODO(leafp) These are mostly copied over from dart:html. When
// we shift dart:blink generation over to dartium, this dependency
// should go away, or at least be reconsidered.
import 'dart:async';
import 'dart:collection';
import 'dart:html';
import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
import "dart:convert";
import 'dart:math';
// TODO(vsm): Remove this when we can do the proper checking in
// native code for custom elements.
import 'dart:mirrors';
import 'dart:nativewrappers';
import 'dart:typed_data';
import 'dart:web_gl' as gl;
import 'dart:web_gl' show web_glBlinkMap;
import 'dart:web_sql';
// Not actually used, but imported since dart:html can generate these objects.
import 'dart:svg' as svg;
import 'dart:svg' show Matrix;
import 'dart:svg' show SvgSvgElement;
import 'dart:svg' show svgBlinkMap;
import 'dart:web_audio' show AudioNode, AudioParam, web_audioBlinkMap;
part '$AUXILIARY_DIR/blink_native_DOMImplementation.dart';
$!GENERATED_DART_FILES
// TODO(vsm): This should be moved out of this library. Into dart:html?
Type _getType(String key) {
// TODO(vsm): Add Cross Frame and JS types here as well.
if (htmlBlinkMap.containsKey(key))
return htmlBlinkMap[key];
if (indexed_dbBlinkMap.containsKey(key))
return indexed_dbBlinkMap[key];
if (web_audioBlinkMap.containsKey(key))
return web_audioBlinkMap[key];
if (web_glBlinkMap.containsKey(key))
return web_glBlinkMap[key];
if (web_sqlBlinkMap.containsKey(key))
return web_sqlBlinkMap[key];
if (svgBlinkMap.containsKey(key))
return svgBlinkMap[key];
return null;
}