| Index: tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| index 4dc5fc93615d351b5e6f578939eb4c2b593c3d91..850b539fd9ff646346e34cb38ff020e1c85669d9 100644
|
| --- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| +++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| @@ -151,6 +151,7 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
|
| return _Utils.spawnDomUri(uri.toString());
|
| }
|
| // FIXME: Can we make this private?
|
| +@Deprecated("Internal Use Only")
|
| final htmlBlinkMap = {
|
| '_HistoryCrossFrame': () => _HistoryCrossFrame,
|
| '_LocationCrossFrame': () => _LocationCrossFrame,
|
| @@ -259,6 +260,7 @@ $!TYPE_FUNCTION_MAP
|
|
|
| // TODO(terry): We may want to move this elsewhere if html becomes
|
| // a package to avoid dartium depending on pkg:html.
|
| +@Deprecated("Internal Use Only")
|
| getHtmlCreateFunction(String key) {
|
| var result;
|
|
|
| @@ -391,9 +393,13 @@ String _getCustomElementName(element) {
|
|
|
| /// An abstract class for all DOM objects we wrap in dart:html and related
|
| /// libraries.
|
| +///
|
| +/// ** Internal Use Only **
|
| +@Deprecated("Internal Use Only")
|
| class DartHtmlDomObject {
|
|
|
| /// The underlying JS DOM object.
|
| + @Deprecated("Internal Use Only")
|
| js.JsObject blink_jsObject;
|
|
|
| }
|
| @@ -424,11 +430,13 @@ _upgradeHtmlElement(dartInstance) {
|
| return dartInstance;
|
| }
|
|
|
| +@Deprecated("Internal Use Only")
|
| class DebugAssertException implements Exception {
|
| String message;
|
| DebugAssertException(this.message);
|
| }
|
|
|
| +@Deprecated("Internal Use Only")
|
| debug_or_assert(message, expression) {
|
| if (!expression) {
|
| throw new DebugAssertException("$message");
|
| @@ -441,6 +449,7 @@ debug_or_assert(message, expression) {
|
| // user's this (this is needed for futures) and listener function.
|
| Map<int, Map<int, js.JsFunction>> _knownListeners = {};
|
|
|
| +@Deprecated("Internal Use Only")
|
| js.JsFunction wrap_event_listener(theObject, Function listener) {
|
| var thisHashCode = theObject.hashCode;
|
| var listenerHashCode = identityHashCode(listener);
|
| @@ -452,6 +461,7 @@ js.JsFunction wrap_event_listener(theObject, Function listener) {
|
| return _knownListeners[thisHashCode][listenerHashCode];
|
| }
|
|
|
| +@Deprecated("Internal Use Only")
|
| Map<String, dynamic> convertNativeObjectToDartMap(js.JsObject jsObject) {
|
| var result = new Map();
|
| var keys = js.JsNative.callMethod(js.JsNative.getProperty(js.context, 'Object'), 'keys', [jsObject]);
|
|
|