Index: sdk/lib/html/templates/html/dartium/impl_Window.darttemplate |
diff --git a/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate b/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate |
deleted file mode 100644 |
index d463470cc7ccd1f812f7ea21d595143566350e15..0000000000000000000000000000000000000000 |
--- a/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate |
+++ /dev/null |
@@ -1,39 +0,0 @@ |
-// Copyright (c) 2012, 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. |
- |
-part of html; |
- |
-/// @domName $DOMNAME |
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
- |
- /** |
- * Executes a [callback] after the next batch of browser layout measurements |
- * has completed or would have completed if any browser layout measurements |
- * had been scheduled. |
- */ |
- void requestLayoutFrame(TimeoutHandler callback) { |
- _addMeasurementFrameCallback(callback); |
- } |
- |
- /** |
- * Lookup a port by its [name]. Return null if no port is |
- * registered under [name]. |
- */ |
- lookupPort(String name) { |
- var port = JSON.parse(document.documentElement.attributes['dart-port:$name']); |
- return _deserialize(port); |
- } |
- |
- /** |
- * Register a [port] on this window under the given [name]. This |
- * port may be retrieved by any isolate (or JavaScript script) |
- * running in this window. |
- */ |
- registerPort(String name, var port) { |
- var serialized = _serialize(port); |
- document.documentElement.attributes['dart-port:$name'] = JSON.stringify(serialized); |
- } |
- |
-$!MEMBERS |
-} |